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 » Setting MQMD.UserIdentifier using JMS

Post new topic  Reply to topic
 Setting MQMD.UserIdentifier using JMS « View previous topic :: View next topic » 
Author Message
viswasg
PostPosted: Tue Jul 08, 2008 8:35 am    Post subject: Setting MQMD.UserIdentifier using JMS Reply with quote

Novice

Joined: 15 Oct 2003
Posts: 10

Hi,

We have an application which uses JMS to connect to MQ and put the message onto the queue. Though we use the required JMS API to set the UserIdentifier to a particular value, we see that the same is being overwritten with a different id, say for example - wsadmin which will be the id with which the server has been started.

Can you please let me know if this is the restriction of JMS that it always overrides the UserId in the message or are we missing some configuration setting in the JMS.

Thanks and Regards,
Viswas
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 08, 2008 11:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You do not set the UserId identifier in JMS on the record.
It is set at connection time. Either through JNDI JAAS on the container or through
conn=qcf.createConnection(user, passwd); and possibly through the MCAUser on the channel?

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Setting MQMD.UserIdentifier using JMS
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.