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 » WebSphere Message Broker (ACE) Support » Alternate User Id

Post new topic  Reply to topic
 Alternate User Id « View previous topic :: View next topic » 
Author Message
Nizam
PostPosted: Tue May 25, 2004 8:30 am    Post subject: Alternate User Id Reply with quote

Disciple

Joined: 10 Feb 2004
Posts: 160

Hi,
I am trying to put a message using alternate user authority.
I am logged in as 'x' and I try to put the msg ad 'y' , I see that the MQMD header has the user id as 'y' when I debug. But the problem is I see the reply for the message I have sent has user id 'x' as it says 'x' does not have authority to execute the program.
1. I have checked the alternate user id attribute in the MQOutput Node.
2. My code is SET OutputRoot.MQMD.UserIdentifier = 'y';
3. I am using amqsput to put the message.

Do you think I should make some modifications to the put program?
Do you think I am doing a mistake or forgot something?
I Appreciate your replies.
Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 25, 2004 8:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you set the Message Context on the output node?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Nizam
PostPosted: Tue May 25, 2004 8:47 am    Post subject: Reply with quote

Disciple

Joined: 10 Feb 2004
Posts: 160

Message context is set to 'pass all'. I think this is the default.
Back to top
View user's profile Send private message
JT
PostPosted: Tue May 25, 2004 8:52 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Take a look: http://www.mqseries.net/phpBB2/viewtopic.php?t=14434
Back to top
View user's profile Send private message
Nizam
PostPosted: Wed May 26, 2004 5:24 pm    Post subject: Reply with quote

Disciple

Joined: 10 Feb 2004
Posts: 160

Thanks Jeff and JT
It worked.
Because I wanted to to put the messages finally to a Remote Definition Queue, I had to write two flows
1. The first flow puts the message on a local queue(MQOutput) and I have set the Message context to 'Set Identity'.
2. The second flow picks the messages from the above queue and puts it to a remote definition queue.

Thanks again guys.....
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 » WebSphere Message Broker (ACE) Support » Alternate User Id
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.