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 » WebSphere Message Broker (ACE) Support » How to retain the MQMD.ApplIDData in the subscribed message

Post new topic  Reply to topic
 How to retain the MQMD.ApplIDData in the subscribed message « View previous topic :: View next topic » 
Author Message
MQEnthu
PostPosted: Fri May 20, 2011 2:32 am    Post subject: How to retain the MQMD.ApplIDData in the subscribed message Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Hi ,

I have a publisher flow which publishes a message on perticular topic. And I have craeted a subscription in WMQ to receive message in a queue. And is working perfectly.

Now I need to set the MQMD.ApplIDData in the publisher flow based on the message content and that should be available at the message subscriber queue. When I check the message at the subscriber queue the MQMD.ApplIDData is empty.

Could you please let me know how can we achieve this.

Thank you.
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri May 20, 2011 3:00 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What options have you configured on your MQOutput Node?

To quote a post on this forum (found by a search...)
Quote:

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzak.doc/fr13070_.htm



ApplIdentityData (MQCHAR32)
For the MQPUT and MQPUT1 calls, this is an input/output field if MQPMO_SET_IDENTITY_CONTEXT or MQPMO_SET_ALL_CONTEXT is specified in the PutMsgOpts parameter. If a null character is present, the null and any following characters are converted to blanks by the queue manager. If neither MQPMO_SET_IDENTITY_CONTEXT nor MQPMO_SET_ALL_CONTEXT is specified, this field is ignored on input and is an output-only field. For more information on message context, see the WebSphere MQ Application Programming Guide.


See this link too:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzak.doc/fr14060_.htm


Perhaps this may help?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Esa
PostPosted: Fri May 20, 2011 3:15 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

This is a security issue.

I guess the user id that subscribes must have "Pass identity context" or "Pass all context" authority on the subcription queue.

I have had the same problem but I never had the time to test if this is all you need.

Of course the publishing user id must have "Set identity context" or "Set all context" on the topic, but if that were not the case the PUT operation would fail with a reason code "not authorized".
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Sun May 22, 2011 7:40 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

smdavies99 wrote:
What options have you configured on your MQOutput Node?

To quote a post on this forum (found by a search...)



I am not using MQOutput node. I am doing the publication of messages in my flow and hence using the Publication node. Is there any properties I need to set while creating the subscriptions to achive this?
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to retain the MQMD.ApplIDData in the subscribed message
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.