|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
I need to stamp the userid in the message on AIX |
« View previous topic :: View next topic » |
Author |
Message
|
dblack9 |
Posted: Sun Sep 12, 2004 5:31 pm Post subject: I need to stamp the userid in the message on AIX |
|
|
Newbie
Joined: 13 Jun 2003 Posts: 3 Location: Boulder, CO USA
|
I have a customer who requires every message sent to him have a userid he has selected written to it. I have the mcauser param on the sdr channel set to the special userid and the receiver channel has putaut set to context.
I use amqsput to put the message on the remote queue and when I browse the message on the local queue it has the userid amqsput ran under, not the one specified in mcauser.
The application which actually puts the message on the remote queue is being modified, but is still in test and customer wants to test now. |
|
Back to top |
|
 |
leongor |
Posted: Mon Sep 13, 2004 2:38 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
MCA user is used by channels (Sender/Receiver) as alternate user for MQOPEN. It doesn't get to Context in MQMD (except z/OS I think). _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 13, 2004 4:52 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Use amqsputc, the client version. On the SVRCONN channel you use to connecto to the QM, set the MCAUSER ID to the ID that you want. All the messages will have that ID. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Nigelg |
Posted: Tue Sep 14, 2004 12:21 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
For a server app (amqsput not amqsputc), I expect that using the MQPMO options to set the context (MQPMO_SET_ALL_CONTEXT) in a msg will do what you want. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|