Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing JMS as a request/response service
    primarykey
    data
    text
    <p>There are various implementations for using JMS as a request/response service. I would like to know the ideal implementation. Below are these various implementations. </p> <hr> <h3>1) Permanent request queue, Dynamic response queue</h3> <p>All request messages are published into a single request queue specifying the reply queue. The service consumes the request message and publishes a message back onto a dynamic reply queue.</p> <ul> <li>No need for a correlation id. </li> <li>Multiple consumers of their corresponding response queues</li> </ul> <h3>2) Permanent request queue, Permanent response queue</h3> <p>All request message are published into a single request queue, specifying a unique id in the jms properties. Unique id is stored locally. Service consumes request message and publishes message back onto response queue. A single response consumer will consume the message and act appropriately based on the unique id.</p> <ul> <li>Correlation id required. </li> <li>Single consumer of the response queue</li> </ul> <h3>3) Permanent request queue, Permanent response topic</h3> <p>All request messages are published into a single request queue, specifying a unique id in the jms properties. The service consumes the request message and publishes a message with the same unique id in the jms properties back onto the topic. Consumers of the response will set a message selector to select for only the message the contains the unique id.</p> <ul> <li>Correlation id required. </li> <li>Multiple consumers of the response topic</li> </ul> <p>Does anyone know other implementations? And which of these implementations is the ideal solution for using JMS as a request/response service?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload