Author |
Message
|
jon |
Posted: Wed Oct 21, 2009 7:14 pm Post subject: Supress RFH2 header in Published meesage |
|
|
 Apprentice
Joined: 17 May 2009 Posts: 32
|
I am facing a problem in Message broker Publish subscriber flow.
Any way is there to supress the MQRFH2 Header in the messages published by the Broker.Because the target application not recognizing the MQRFH2 header.
I am using MB 6.0., We are sending the message with topic name in the psc folder of the MQRFH2 header to publish node.
Based on the topic the broker publishing the message to queue with the RFH2 header, any way to supress the rfh2 header.
Please help me _________________ When you have a dream, you've got to grab it and never let go. - Carol Burnett |
|
Back to top |
|
 |
MQEnthu |
Posted: Wed Oct 21, 2009 10:53 pm Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
jon wrote: |
I am using MB 6.0., We are sending the message with topic name in the psc folder of the MQRFH2 header to publish node. |
As you mentioned, the topic is set in the PSC folder of rfh2header, so that publication node publishes the message on the topic mentioned in psc folder. AFAIK, you can not supress the RFH2 header in this case. _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Oct 22, 2009 3:56 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you tried publishing with WebSphere MQ V7?
Do you still have the RFH2 header in that case?
Maybe you need am MQ V7 in your architecture to publish messages of this type...?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jon |
Posted: Fri Oct 23, 2009 12:44 am Post subject: |
|
|
 Apprentice
Joined: 17 May 2009 Posts: 32
|
I am not using MQ7 to publish.
Published the message using following MQRFH2 header and we published to broker using publish node.
<psc>
<Command>Publish</Command>
<Topic>topic name</Topic>
</psc>
The subscriber can able to get the message, but it comes with the rfh2 header.The subscribing application cant able to read the message _________________ When you have a dream, you've got to grab it and never let go. - Carol Burnett |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 23, 2009 1:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jon wrote: |
I am not using MQ7 to publish.
Published the message using following MQRFH2 header and we published to broker using publish node.
<psc>
<Command>Publish</Command>
<Topic>topic name</Topic>
</psc>
The subscriber can able to get the message, but it comes with the rfh2 header.The subscribing application cant able to read the message |
And as you noticed you need the RFH to publish either to MQ V6 or the broker....
What I was suggesting is to use one of the features of MQ V7 and see if you still have the RFH in the published message....
You could then subscribe the parties interested to MQ V7 and route the message there for publication before you attach the RFH and send it to the broker...
Yes I know hybrid architecture and more work...
The other alternative to explore would be a subscription point...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
flahunter |
Posted: Mon Oct 26, 2009 12:31 am Post subject: |
|
|
 Acolyte
Joined: 30 Oct 2008 Posts: 62
|
Use ResetContentDescriptor to reset to BLOB firstly
SET OutputRoot.Properties = InputRoot.Properties;
SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.MQMD.Format = 'MQSTR';
SET OutputRoot.BLOB.BLOB = InputRoot.BLOB.BLOB;
wish this will give you some help. |
|
Back to top |
|
 |
|