Author |
Message
|
sreebeee |
Posted: Thu Dec 22, 2011 4:31 pm Post subject: PUB/SUB |
|
|
Newbie
Joined: 22 Dec 2011 Posts: 4
|
I created flow to publish a message to certain topic using "SET OutputRoot.MQRF2.psc.Topic." which in turn is adding RF2 header to the message. Now the issue is the consumer (subscriber) of the published message has to deal with the extra header information..
I tried to change the subscription properties to "NONE", "COMATIBILITY" but is of no use.
Can any one suggest a solution so I can provide a message without RF2 to consumer?
Thanks in advance,
Sreebee* |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 22, 2011 4:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
What version of WMB? What version of WMQ? It makes a significant difference to how pub/sub works. I'll assume v7 as you talk about compatibility settings...
What happens if you set the topic in the Properties? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sreebeee |
Posted: Thu Dec 22, 2011 7:25 pm Post subject: |
|
|
Newbie
Joined: 22 Dec 2011 Posts: 4
|
True, it is V7.
Message is getting published and subscribed Queue is receiving the message as expected but with RF2 header information appended to message.
I hope I answered your question, if not please let me know what information you are exactly referring to so I can be more clear with my explanation. |
|
Back to top |
|
 |
zpat |
Posted: Thu Dec 22, 2011 10:34 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
V7 broker or v7 WMQ or both?
Sounds like you are using the old pub/sub engine. or JMS style queued pub/sub. |
|
Back to top |
|
 |
sreebeee |
Posted: Fri Dec 23, 2011 5:39 am Post subject: |
|
|
Newbie
Joined: 22 Dec 2011 Posts: 4
|
No. MB7 and MQ7. I am using new Pub/Sub technology. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 23, 2011 6:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sreebeee wrote: |
Message is getting published and subscribed Queue is receiving the message as expected but with RF2 header information appended to message. |
Yes, if you're setting the topic as you indicated in your original post then you're adding an RFH2 with the topic to the message.
If you don't want that, try my suggestion. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Fri Dec 23, 2011 7:11 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Even the new MQv7 pub/sub engine can operate in the old mode or both.
Check all PSMODE or PSPROP options are set appropriately on the QM, queue and subscription. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 23, 2011 8:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
zpat wrote: |
Even the new MQv7 pub/sub engine can operate in the old mode or both.
Check all PSMODE or PSPROP options are set appropriately on the QM, queue and subscription. |
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
sreebeee |
Posted: Fri Dec 23, 2011 8:51 am Post subject: |
|
|
Newbie
Joined: 22 Dec 2011 Posts: 4
|
Vitor is right.
Thanks for your suggestion. |
|
Back to top |
|
 |
|