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 IBM MQ Support » MQMD context headers in XMITQ

Post new topic  Reply to topic
 MQMD context headers in XMITQ « View previous topic :: View next topic » 
Author Message
atheek
PostPosted: Thu Nov 13, 2008 1:34 am    Post subject: MQMD context headers in XMITQ Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Platform: Windows 2003 Server
MQ Version: 6.0.2.3

We have a sender application that sends mesages to a queue in a remote queue manager using sdr/rcvr channel.

The application sets both the identity and origin context in the message header. We thought of confirming this by checking the MQMD header in the transmission queue after bringing the channel down. The MQMD header of the transmission queue had identity context as set by the application, but the origin context was overwritten by the queue manager with ApplnOriginData set as blank, a field the receiver app needs to process the message correctly. When the message eventually reached the receiver system it had the MQMD header fields to the values set by the sender application - including both identity and context.

Why is there a difference in the header only for origin context, when the message is on a xmit queue? Is this a documented feature. If so where can I get the documentation.

Thanks,
Atheek
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 13, 2008 2:28 am    Post subject: Re: MQMD context headers in XMITQ Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

atheek wrote:
Why is there a difference in the header only for origin context, when the message is on a xmit queue? Is this a documented feature. If so where can I get the documentation.


IIRC (and these days that's less & less likely!) it's in the Intercommunication manual somewhere. There's another MQMD added as part of the transmission process - remember that the MCA is (at it's simplist) just an application doing gets and puts.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Nov 13, 2008 8:24 pm    Post subject: Re: MQMD context headers in XMITQ Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

atheek wrote:
Platform: Windows 2003 Server
MQ Version: 6.0.2.3

We have a sender application that sends mesages to a queue in a remote queue manager using sdr/rcvr channel.

The application sets both the identity and origin context in the message header. We thought of confirming this by checking the MQMD header in the transmission queue after bringing the channel down. The MQMD header of the transmission queue had identity context as set by the application, but the origin context was overwritten by the queue manager with ApplnOriginData set as blank, a field the receiver app needs to process the message correctly. When the message eventually reached the receiver system it had the MQMD header fields to the values set by the sender application - including both identity and context.

Why is there a difference in the header only for origin context, when the message is on a xmit queue? Is this a documented feature. If so where can I get the documentation.

Thanks,
Atheek


I assume you were checking the MQMD in the message data, that appears between the MQXQH structure and your application data. The message on the xmitq also has its own MQMD but that is managed by the MCA.

If the context fields are not being set as you expect it is probably because the application has not requested to open the queue with the appropriate context authorities.
_________________
Glenn
Back to top
View user's profile Send private message
atheek
PostPosted: Thu Nov 13, 2008 10:04 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Glen wrote:
I assume you were checking the MQMD in the message data, that appears between the MQXQH structure and your application data.


No Glen. I was using amqsbcg and checking mqmd header and not in the MQXQH header. Now I realise thats where I need to check

The application is setting the ccontext correctly and its appearing correctly at the receiver side

Thanks for the replies

-Atheek
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 » General IBM MQ Support » MQMD context headers in XMITQ
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.