ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQ Pub/Sub not working with message exits enabled

Post new topic  Reply to topic Goto page Previous  1, 2
 MQ Pub/Sub not working with message exits enabled « View previous topic :: View next topic » 
Author Message
Monk
PostPosted: Mon Apr 06, 2009 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message
manicminer
PostPosted: Tue Apr 07, 2009 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message
vol
PostPosted: Tue Apr 07, 2009 6:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » MQ Pub/Sub not working with message exits enabled
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.