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 MQ User ID Via JMS

Post new topic  Reply to topic
 Setting MQ User ID Via JMS « View previous topic :: View next topic » 
Author Message
shriek
PostPosted: Thu Feb 24, 2005 6:51 pm    Post subject: Setting MQ User ID Via JMS Reply with quote

Newbie

Joined: 24 Feb 2005
Posts: 1

Hello All,

I know that this is an oft repeated question in this forum. But I have a set of requirements and none of the previous messages gave me a clear answer to this. Here goes..

I need to set the MQMD UserIdentifier to a specific value [X12Y34]. JMS send() sets the userIdentifier to 'mqm' automatically, I dont see a way by which I can set any value using this function.

One of answers that was mentioned was to use the createQueueConnection() method passing the userid and password. My question is whether this would accept an user that does not exist on the system at all. Creating a user for this on the OS is not an option for me.

Given the above, is it possible to set this atleast via Java MQ APIs if the user id is not present on the sending system?

Any clarity on these would be much appreciated.

Thanks
Shriek
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Feb 25, 2005 9:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Quote:
My question is whether this would accept an user that does not exist on the system at all. Creating a user for this on the OS is not an option for me.

No. MQ has to valid the UserID to "something" and that something is the OS for Solaris.

You want to buy a car to drive around but you won't get inside!!!! Come on.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Fri Feb 25, 2005 12:37 pm    Post subject: Reply with quote

Grand High Poobah

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

I am not certain but it might be possible in client mode.
Of course the qmgr would need to have the authorizations set for the usr.
Usually only possible for the group in Unix. Don't know how it is being handled if the user is not defined on the box the qmgr runs on.

Enjoy
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Fri Feb 25, 2005 12:47 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Well, you could use 'Alternate UserID' for regular MQ but I don't think that feature/function is available for JMS applications.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Setting MQ User ID Via 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.