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 » Remove RFH2 Header from published message

Post new topic  Reply to topic
 Remove RFH2 Header from published message « View previous topic :: View next topic » 
Author Message
Vargheese thomas
PostPosted: Mon Jan 19, 2004 4:50 am    Post subject: Remove RFH2 Header from published message Reply with quote

Novice

Joined: 16 May 2003
Posts: 13

Hi All

Urgent Help needed....

Iam using publication node in my flow to publish the message.
After the message is published, when i try to read the message from the output queue iam getting the RFH2 header along with the actual message.

Is there a way to remove the RFH2 header from the message before/while publishing.

Iam using WMQI 2.1 with csd-4.
_________________
Thanks and regards
Vargheese Thomas
Back to top
View user's profile Send private message
wooda
PostPosted: Mon Jan 19, 2004 5:30 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

I think you need to remove the RFH2 header from the logical message tree before publishing.
You can do this by detaching the OutputRoot.MQRFH2 subtree using ESQL in a compute node.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jan 19, 2004 5:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

This is addressed in the Pub/Sub section of the Programming Guide.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dilse
PostPosted: Fri Apr 27, 2007 3:16 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Jeff & Wooda,
I am having the same issue with my end message. It contains the RFH2 header. It is becoming difficult to read the data with the RFH2 header in it. One thing what I am wondering about Wooda's suggestion is how can it publishes if you remove the RFH2 header before publishing it.

Quote:
You can do this by detaching the OutputRoot.MQRFH2 subtree using ESQL in a compute node.


Can you explain this?

I tried to find it in the Programming guide but I do not think MQ alone deals with RFH2 header but it deals with RFH header. Correct me if I am wrong.


Thanks,
DilSe..
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Apr 28, 2007 6:39 am    Post subject: Reply with quote

Grand High Poobah

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

dilse wrote:
I tried to find it in the Programming guide but I do not think MQ alone deals with RFH2 header but it deals with RFH header. Correct me if I am wrong.


The RFH2 is just the version 2 of the RFH. It's handled the same way, the only difference is structure and a few fields.

The suggestion of removing the header in ESQL will still work, though you do need the <psc> folder in a pub/sub environment.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dilse
PostPosted: Sat Apr 28, 2007 1:22 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Thanks Vitor.

I am using the RFH2 header for publishing to a particular topic. Is there anyway that I can remove the header before it reaches the Subscribe Queue. If you remove the RFH2 before publishing how can one message flow will be able to publish without the psc in RFH2 header. Please shed some light.

Thanks,
DilSe...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Apr 28, 2007 3:46 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please search for previous discussion.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vk
PostPosted: Mon Apr 30, 2007 7:35 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

If you dont want a RFH header in the message that is published to the subscribers then set the topic name in the properties tree -

SET OutputRoot.Properties.Topic = 'XYZ';

You can also specify the topic name in the MQInput node properties, if it is static. Dynamic topic names can be set in a compute node in the properties tree as shown above.

If the topic is set in the psc folder of MQRFH2 header, then the published message will also have an RFH header.

Regards,
VK.
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 » Remove RFH2 Header from published 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.