|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can I access Message Header?? |
« View previous topic :: View next topic » |
Author |
Message
|
javaforvivek |
Posted: Wed Mar 24, 2004 2:14 am Post subject: How can I access Message Header?? |
|
|
 Master
Joined: 14 Jun 2002 Posts: 282 Location: Pune,India
|
Hi,
I am putting a message using MQ Base Java client.
This Java client reads data from a csv file and writes it in the message.
I am setting MQMessage.applicationIdData= fileName of the csv file.
How can I access this fileName in a compute node? _________________ Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 24, 2004 4:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You use ESQL to access each part of the message tree, including the part of the message tree that contains the MQMD. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Wed Mar 24, 2004 10:20 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Code: |
DECLARE FILENAME CHAR;
SET FILENAME = SET InputRoot.MQMD.ApplIdentityData;
|
Recommended reading material:
ESQL Reference Manual
Working with Messages Manual. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|