|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQ Pub/Sub not working with message exits enabled |
« View previous topic :: View next topic » |
Author |
Message
|
Monk |
Posted: Mon Apr 06, 2009 3:04 am Post subject: |
|
|
 Master
Joined: 21 Apr 2007 Posts: 282
|
Hi Poobah and All,
I have finally found the issue with exits and pub/sub...
if you have a hierarchical topology...which i had...and if u have exits..
what happens is that all message MQMD user field gets updated with "MQM" , well atleast in my case and this cannot be recognized by the pub/sub broker and he discards the messages ..
However if u don't have exits on you channels , this does not happen.
Solution : replace the userid in MQMD with "MQM" with "mqm" and everything will be fine..
 _________________ Thimk |
|
Back to top |
|
 |
manicminer |
Posted: Tue Apr 07, 2009 12:34 am Post subject: |
|
|
 Disciple
Joined: 11 Jul 2007 Posts: 177
|
Monk wrote: |
Hi Poobah and All,
I have finally found the issue with exits and pub/sub...
if you have a hierarchical topology...which i had...and if u have exits..
what happens is that all message MQMD user field gets updated with "MQM" , well atleast in my case and this cannot be recognized by the pub/sub broker and he discards the messages ..
However if u don't have exits on you channels , this does not happen.
Solution : replace the userid in MQMD with "MQM" with "mqm" and everything will be fine..
 |
So, just to be clear here, are you saying that MQ is setting the user id to MQM and this is incorrect? Or are you saying your exit was incorrectly setting the user id to MQM? _________________ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
|
Back to top |
|
 |
vol |
Posted: Tue Apr 07, 2009 6:39 am Post subject: |
|
|
Acolyte
Joined: 01 Feb 2009 Posts: 69
|
Nothing to do with pubsub itself, except that the user name used to authenticate the put is taken from the MD.
If a message exit is configured on a channel, the user ID in the MD is not transcoded to lower case. This is documented in the Intercomms manual.
Quote: |
User IDs across systems
Platforms other than Windows systems and UNIX systems use uppercase characters for user IDs. To allow Windows systems and UNIX systems to use lowercase user IDs, the following conversions are carried out by the message channel agent (MCA) on these platforms:
At the sending end
The alpha characters in all user IDs are converted to uppercase, if there is no message exit installed.
At the receiving end
The alpha characters in all user IDs are converted to lowercase, if there is no message exit installed.
Note that the automatic conversions are not carried out if you provide a message exit on UNIX systems and Windows systems for any other reason.
|
|
|
Back to top |
|
 |
|
|
|
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
|
|
|
|