Posted: Tue May 22, 2007 8:13 am Post subject: Where does WBIMB get user id it assigns to messages?
Novice
Joined: 09 Dec 2005 Posts: 20
I'm expecting to see the service userid assigned to the userid in the MQMD when creating a message but that's not the id that appears to be getting assigned. I ran mqsiservice brokername to determine the setting of service id. That's not the id that is appearing on the messages. The messages are coming into the broker with the userid in the mqmd blank. So where is the broker getting the id that it assigns to a message?
Message broker by default retains the user ID which put the message into the input queue for the message flow. The same user ID is copied to the MQMD header of the output message which the broker puts into the output queue.
Try putting trace nodes after the input node and defore the output node to capture the MQMD header at various stages. Not sure why the user ID is blank in your input message. Where are you seeing the messages?
I agree about userid being set by app that puts message on the queue. That's just standard WMQ behavior. What I have is a message arriving from a remote queue manager that arrives without the userid blank. The WBIMB message flow that gets this message creates another message and puts it to a queue. The new message has a local userid assigned that is not the broker's service id.
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