Author |
Message
|
Nizam |
Posted: Tue May 25, 2004 8:30 am Post subject: Alternate User Id |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue May 25, 2004 8:44 am Post subject: |
|
|
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 |
|
 |
Nizam |
Posted: Tue May 25, 2004 8:47 am Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
Message context is set to 'pass all'. I think this is the default. |
|
Back to top |
|
 |
JT |
Posted: Tue May 25, 2004 8:52 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
Nizam |
Posted: Wed May 26, 2004 5:24 pm Post subject: |
|
|
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 |
|
 |
|