Parallel asynchronous and synchronous services in one queue
Dear community,
I have a question about how to use EAI XXX Transport services for using asynchronous and synchronous communication in one queue.
The following situation is present:
All our MQ services are routed via ESB of the client. Alltogether we have 4 queues:
Siebel Inbound Communication
1. Request Queue
2. Response Queue
Siebel Outbound Communication
3. Request Queue
4. Response Queue
On queue (1) we have a JMS Receiver component listening, executing the ReceiveDispatchSend method to respond to queue (2).
On queue (3) we are sending messages using SendReceive and therefore Siebel will automatically listen on queue (4) for responses with the respective Correleation Id.
Now we have a new requirement for asyncrhonous Outbound communication. It is required to send an asynchronous request on queue (3) and expect an answer on queue (4). Therefore I suppose we need a new Receiver component which is listening on queue (4). But how can I distinguish between the asynchronous and the synchronous responses? How can I make sure, that the newly created Receiver doesn't pick up the syncrhonous responses?