Question
3
Replies
292
Views
Posted: December 5, 2016
Last activity: December 5, 2016
Closed
JMS MDB Listener use for different request and response queue
Hi Team,
I want to use JMS MDB listener to listen to a specific request queue and then JMS service should process the request and response should be sent to a different queue. How this can be acheived in a single JMS MDB listener as I don't see 2 different options to place different queue names for request and response which is there in MQ listener form.
Hi,
You can set the 2nd queue in Response Destination name field.
Response destination name
If the Preference field is set to
Listener
and this listener is to send responses, specify the destination of the response. If the messaging domain isPublish-and-Subscribe
, select the JMS Topic object from which messages are to be received. If the messaging domain isPoint-to-Point
, select the JMS Queue object from which messages are to be received.This field supports the Global Resource Settings syntax (=PageName.PropertyName). The default property name for this field is
pyResponseDestination
. For more information, see Using the Global Resource Settings feature.Click Message explorer to display a list of JMS messages, add a message, or remove a message.
Please refer help https://pdn.pega.com/sites/pdn.pega.com/files/help_v722/procomhelpmain.htm#data-/data-admin-/data-admin-connect-/data-admin-connect-jmsmdblistener/jmsproperties.htm