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 » Unable to get MQHRF2 properties in the message

Post new topic  Reply to topic
 Unable to get MQHRF2 properties in the message « View previous topic :: View next topic » 
Author Message
Svp
PostPosted: Thu Dec 02, 2010 9:48 am    Post subject: Unable to get MQHRF2 properties in the message Reply with quote

Apprentice

Joined: 18 Feb 2010
Posts: 40

A MQTT client publishes a message with a topic which is subscribed by a queue(MQv7). The properties of the message says its a MQRFH2 format.
When my message flow(WMBv7) reads the message, the MQRFH2 is not set in the Message . The Properties,MQMD and BLOB are populated.

Could anyone suggest what would be the problem?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 02, 2010 10:41 am    Post subject: Re: Unable to get MQHRF2 properties in the message Reply with quote

Grand High Poobah

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

Svp wrote:
Could anyone suggest what would be the problem?


I'm only guessing here, but could the contents of the RFH2 been turned into message properties by the v7 nature of the readign set up?

Aside from that, can the sending application prove that it's supplying an RFH2 (rather than just setting the format in the MQMD? Does your assertion that the message only contains Properties, MQMD & BLOB come from a user trace? What's the format shown in the MQMD?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Svp
PostPosted: Thu Dec 02, 2010 10:59 am    Post subject: Reply with quote

Apprentice

Joined: 18 Feb 2010
Posts: 40

When I checked the properites of the input message in MQ Explorer it has data in MQRFH2 Properties and Named Properties.

But the trace gives MQMD.Format is NULL.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 03, 2010 1:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Inspect the message before it hits the broker. Verify that the MQMD.Format field has the correct value for the RFH header.

Should the value still be null tell the sender to fix it.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Svp
PostPosted: Fri Dec 03, 2010 6:45 am    Post subject: Reply with quote

Apprentice

Joined: 18 Feb 2010
Posts: 40

When a MQTT Client publishes a topic based message, the Telemetry service running in WMQv7.0.1.3 generates MQRH2 Format when it receives. MQRFH2 format is not dependent on the Sender.

As I said earlier when I check the properties of the message in the MQ Explorer the MQRFH2 format is available with mqtt.clientId,mqtt.msgId & mqtt.qos .

I used RFHUTIL to check the same message in which RFH tab is empty and
UsrProp tab has

mqtt.clientId=client1
mqtt.qos=2
mqtt.msgid=1
MQTopicString=testTopic.
Back to top
View user's profile Send private message
JonLevell
PostPosted: Fri Dec 10, 2010 4:44 am    Post subject: Properties can be RFH2 or not Reply with quote

Newbie

Joined: 10 Dec 2010
Posts: 1

Properties can be including as part of the message (as an RFH2 header) or separately in a message handle so that the MQ APIs for parsing message properties can be used. By default applications which understand message properties (i.e. they supply a message handle) are given them in that format and other (e.g. older) applications are given the message with an RFH2 header

It sounds like some apps are getting the message with the properties and other are seeing an RFH2 header.

If you want to force an application to receive an RFH2 header - you can set the PROPCTL attribute (short for "Property Control") on the queue to be "FORCE" - which means force properties to be an RFH2.

Hope this helps...

Jon Levell
IBM Hursley
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 » Unable to get MQHRF2 properties in the 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.