How to accept a JMS message in Sonic ESB 7.6

Posted by Admin on 14-Apr-2010 10:00

Hi All,

How to accept a JMS message from Sonic ESB7.6 and reply back? Could someone give steps for it?

Regards,

Swaroop Kunduru.

All Replies

Posted by Bill Wood on 15-Apr-2010 12:49

This is common and relatively simple.

  1. Configure your ESB process with a particular Entry Endpoint that maps to the JMS Destination.

  2. Usually, you configure the ESB Process with Exit Endpoint = REPLY_TO

  3. Deploy the ESB process in a container (check the log to see that the destination is being listened for).


In JMS, create the JMS message -- the ESB typically wants Multipart, XML, Text, or plain Message.  (but the others will work too, it is just that you need to do extra coding to see Map or BytesMessage).  Make sure you set the JMSReplyTo on the message.

Send it and it should work.

This thread is closed