ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » How to Get Application Identity Data

Post new topic  Reply to topic
 How to Get Application Identity Data « View previous topic :: View next topic » 
Author Message
chanduy9
PostPosted: Wed May 08, 2002 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
bduncan
PostPosted: Wed May 08, 2002 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
chanduy9
PostPosted: Wed May 08, 2002 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
StefanSievert
PostPosted: Wed May 08, 2002 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » How to Get Application Identity Data
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.