|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to Get Application Identity Data |
« View previous topic :: View next topic » |
Author |
Message
|
chanduy9 |
Posted: Wed May 08, 2002 9:47 am Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
How to get the applicationIdData of MQMD field.
Thanks in advance,
Chandra, |
|
Back to top |
|
 |
bduncan |
Posted: Wed May 08, 2002 12:00 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Which API are you using?
_________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
chanduy9 |
Posted: Wed May 08, 2002 12:08 pm Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
java api
how to set the getmessge options to read the application identity.
Thanks,
Chandra. |
|
Back to top |
|
 |
StefanSievert |
Posted: Wed May 08, 2002 12:18 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Chandra,
you don't need to set any specific options to get the context information.
Check out the documentation (MQSeries using Java) of the Java class MQMessage. It contains the following public attributes:
public String userId
public byte accountingToken[]
public String applicationIdData
public int putApplicationType
public String putApplicationName
public String applicationOriginData
Those form the identity and origin context of the message. You should be able to address them as you would address any other public attribute of a class.
Hope that helps,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
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
|
|
|
|