KB Article #177665

[JMS]How to force specific application when retrieving messages from MQ server?

Problem

How to force specific application when retrieving messages from MQ server?

Resolution


1) gatestop


2) peluconf standalone set -s monitor jms_rename_files 1
The default value is 0, which means no file renaming.


3) peluconf standalone set -s monitor jms_inbound_appli_property APPLI
Sets the incoming message JMS property of string type that defines which application to use for file renaming.


4)peluconf standalone rebuild -f , for taking into account the modification on the dynamic configuration files


5) gatestart


6)When sending for example the file from a Gateway to MQ and retrieving the message with Gateway , it's important to specify in the details of the outgoing transfer , in the tab JMS the property APPLI FTP_B ,where FTP_B will be the application used in reception for retrieving the message.