Author |
Message
|
tapak |
Posted: Mon Jul 24, 2006 7:30 am Post subject: How to specify the userid for the message |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Any idea how to specify the userid for the message while putting message to a queue . I specified my individual userid while creating the connection to the queue manager . Channel security exit Secadmin accepts my userid as it is added to the secadmin.txt .
But still the Useridentifier property of the message is displayed as mqm . Is it an expected behaviour . I tried specifying putmsg.userId = myIndividualuserid also where putmsg is the MQMessage object . And specified MQC.MQOO_ALTERNATE_USER_AUTHORITY in the putq openOptions .
Any thoughts ? |
|
Back to top |
|
 |
tapak |
Posted: Tue Jul 25, 2006 6:04 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Is the question is not clear ?
To clarify , I try to put a message by specifying the individual userid while opening the connection . But when I browse the message , the user identifier is displayed as mqm instead of my individual userid . Any thoughts ? |
|
Back to top |
|
 |
msukup |
Posted: Tue Jul 25, 2006 7:50 am Post subject: |
|
|
Acolyte
Joined: 11 Feb 2002 Posts: 56
|
are you passing the MQC.MQPMO_SET_ALL_CONTEXT option in? |
|
Back to top |
|
 |
tapak |
Posted: Tue Jul 25, 2006 11:32 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
That helped with the userid problem . But it removed the automatic setting of PutDate , PutTime and Application Name in the Message Header . I set all this values in my application code .
Thanks for your inputs . |
|
Back to top |
|
 |
wschutz |
Posted: Tue Jul 25, 2006 11:40 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
tapak |
Posted: Thu Jul 27, 2006 7:58 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Wayne ,
Thank you for the info . But I decided to use SET ALL CONTEXT as I am planning to put my Application Name instead of Websphere MQ Client for Java to the Origin Context . |
|
Back to top |
|
 |
|