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 Java / JMS » Set MQMD fields APPLIDENTITYDATA & USERIDENTIFIER

Post new topic  Reply to topic
 Set MQMD fields APPLIDENTITYDATA & USERIDENTIFIER « View previous topic :: View next topic » 
Author Message
grahamgjl
PostPosted: Tue Sep 13, 2005 5:03 am    Post subject: Set MQMD fields APPLIDENTITYDATA & USERIDENTIFIER Reply with quote

Newbie

Joined: 14 Oct 2004
Posts: 4

Hi,

I am using mq base java API and I need to set these two fileds to put a message onto a queue

I have trailed the documentation and found that I need to set the MQPutMessageOptions() to
MQC.MQPMO_SET_IDENTITY_CONTEXT

But where do I set the fields UserIdentifier and ApplIdentityData?

Thanks for any help provided

Graham
Back to top
View user's profile Send private message
grahamgjl
PostPosted: Tue Sep 13, 2005 6:05 am    Post subject: I have managed to do this now Reply with quote

Newbie

Joined: 14 Oct 2004
Posts: 4

I set the MQMD in the MQMessage() variables userId and applicationIdData which correspond to the Application Identity Data and User Identifier

The queue also has to be open with the option MQC.MQPOO_SET_IDENTITY_CONTEXT

Can any of the experts just confirl this is correct?

Thanks,
Graham
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 13, 2005 6:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It sounds correct. You might need SET_ALL_CONTEXT instead of SET_IDENTITY_CONTEXT, though.

I haven't tried this.
_________________
I am *not* the model of the modern major general.
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 Java / JMS » Set MQMD fields APPLIDENTITYDATA & USERIDENTIFIER
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.