Posted: Fri May 07, 2004 7:58 am Post subject: mqm, client, setmqaut
Centurion
Joined: 03 Jul 2003 Posts: 133 Location: London
1. I'm coding a Java app and am using the MA88 Java classes. I am not using JMS. It puts messages to a queue over a client-server connection.
I find that the user always shows up as 'mqm ' on the message when it appears on the server queue manager, even though I've tried the following in the code :
Firstly
MQEnvironment.userID = 'mqm1'; // mqm1 is defined on the svr
then, as an laternative
MQMessage msg_put
: :
msg_put.userId = 'mqm1';
2. There is also an isse on the server. When I run setmqaut, the command dspmqaut indicates no changes to permissions for that queue. I have stopped and restarted the queue manager. _________________ MQSI2 certified specialist
MQSeries certified specialist
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
Quote:
I find that the user always shows up as 'mqm ' on the message when it appears on the server queue manager, even though I've tried the following in the code
What SVRCONN channel are you using to connect to the queue manager? If the channel has MCAUSER attribute set, that is the userid that will be used.
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