How to accept a JMS message in Sonic ESB 7.6 - Forum - Technology Partner - Progress Community

How to accept a JMS message in Sonic ESB 7.6

 Forum

How to accept a JMS message in Sonic ESB 7.6

  • Hi All,

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

    Regards,

    Swaroop Kunduru.

  • 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.