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 IndexWebSphere Message Broker (ACE) SupportHow to remove RFH2 header in the published msg before out

Post new topicReply to topic
How to remove RFH2 header in the published msg before out View previous topic :: View next topic
Author Message
beth_carlin
PostPosted: Fri Feb 01, 2008 5:28 pm Post subject: How to remove RFH2 header in the published msg before out Reply with quote

Acolyte

Joined: 08 Jun 2004
Posts: 64

I have a simple pub/sub message flow which publishes the message to the subscriber
queue. The simple messge flow consists of 3 nodes MQInput Node, a Compute Node and a Publication node.

The message content is delivered to the subscriber queue as follows

RFH ” " ¸ MQSTR ¸ L <psc><Command>Publish</Command><Topic>application/xml/test</Topic></psc> <mcd><Msd>xml</Msd></mcd>
<Msg><text>Hello</text></Msg>

I would like to know
Is it possible to remove the RFH2 header (that is from the "RFH to the </mcd>) using esql inside the Compute Node before the message is delivered to the subscriber's queue ?



Thanks very much

Beth
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Feb 02, 2008 4:37 am Post subject: Reply with quote

Grand High Poobah

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

Well there are really 2 options:
a) set the subscription destination to have "?targetClient=1" as attribute (note this is untried and might not work)
b) Use some kind of processing that will remove said header after the publish (which needs it) and before your app reads the message.
This means your subscription queue is serviced by some app that removes the RFH header and drops the message into the app queue...

But seriously if you want your app to consume publish messages make it either JMS, XMS or deal with the header!

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Feb 02, 2008 7:57 am Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's been discussion here before about how to publish without an RFH2.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportHow to remove RFH2 header in the published msg before out
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.