the applicationOriginData on MQMessage java class , is a great way to add some app extra info on the message.
"This is information that is defined by the application suite, and can be used to provide additional information about the origin of the message."
In addition to add such data you must open the queue with the next option:
MQC.MQPMO_SET_ALL_CONTEXT
and when put the message add the same option above on the MQPutMessageOptions.
this is the only way i managed to add such info on the message.
enjoy
Yaniv Tzanany
No comments:
Post a Comment