|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMB+MQTT : Unable to receive subscriptions. |
« View previous topic :: View next topic » |
Author |
Message
|
Cogito-Ergo-Sum |
Posted: Wed Mar 14, 2012 3:49 am Post subject: WMB+MQTT : Unable to receive subscriptions. |
|
|
 Master
Joined: 07 Feb 2006 Posts: 293 Location: Bengaluru, India
|
In the Compute node of my message flow, I am setting the topic name as shown below. This Compute node is connected to a Publication node. The MQTT client is directly connected to the MQXR service. That is, the IP address used by the client is same as that of the queue manager. However, the subscription is not received.
What am I missing ?
Code: |
Set OutputRoot.Properties.Topic = 'a/b/c' ; |
Earlier, I had a Mapping node where I had mapped the Topic name under Properties to the name of the topic. That had worked.
Without MB, the pub-sub was working even when directly connected to the MQXR service. _________________ ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes |
|
Back to top |
|
 |
McueMart |
Posted: Wed Mar 14, 2012 4:09 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
What version of WMB? At 6.1, where subscriptions are handled by Broker, I set the publication topic in the RFH header.
Code: |
SET OutputRoot.MQRFH2C.pcs.Topic='My/Topic';
SET OutputRoot.MQRFH2C.pcs.Command='Publish';
|
|
|
Back to top |
|
 |
Cogito-Ergo-Sum |
Posted: Wed Mar 14, 2012 4:39 am Post subject: |
|
|
 Master
Joined: 07 Feb 2006 Posts: 293 Location: Bengaluru, India
|
WMB 8.0, WMQ 7.0.
Sorry, should have mentioned earlier. _________________ ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes |
|
Back to top |
|
 |
McueMart |
Posted: Wed Mar 14, 2012 4:49 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
Try and compare the complete message tree using the debugger (before the publication node) in your
Mapping Node -> Publication
and
Compute -> Publication
flows.
Check for any differences. Thats about the limit of my help  |
|
Back to top |
|
 |
Cogito-Ergo-Sum |
Posted: Wed Mar 14, 2012 5:38 am Post subject: |
|
|
 Master
Joined: 07 Feb 2006 Posts: 293 Location: Bengaluru, India
|
Well, the ${Root} trace (from Trace node) does show the Properties folder with topic name set correctly. _________________ ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes |
|
Back to top |
|
 |
Cogito-Ergo-Sum |
Posted: Wed Mar 14, 2012 5:43 am Post subject: |
|
|
 Master
Joined: 07 Feb 2006 Posts: 293 Location: Bengaluru, India
|
I think, in the mapping node, I had added the MQRFH2 header. I haven't done this in ESQL. I think, I have incorrectly assumed that, setting the topic name in Properties would do. _________________ ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|