The following diagram depicts quad-channel JMS synchronous invocations of the WSO2 ESB.
The following example code shows configuration of WSO2 ESB for quad-channel JMS synchronous invocations.
The message flow of the sample code is as follows:
- JMSReplyTo property of JMS message is set to ClientRes. Therefore, the client sends a JMS message to ClientReq queue.
- Next, the transport.jms.ReplyDestination value is set to BERes. This enables the ESB proxy to pick messages from ClientReq queue, and send to BEReq queue.
- Next, the back-end picks messages from the BEReq queue, processes and places response messages to BERes queue.
- Once a response is available in BERes queue, the proxy service picks it and sends back to ClientRes queue.
- Finally, the client picks it as the response message.