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 » IBM MQ Telemetry / Low Latency Messaging / Everyplace » MQ Topic and MQTT Topic

Post new topic  Reply to topic
 MQ Topic and MQTT Topic « View previous topic :: View next topic » 
Author Message
Prithviraj
PostPosted: Wed Feb 11, 2015 8:36 pm    Post subject: MQ Topic and MQTT Topic Reply with quote

Apprentice

Joined: 29 May 2014
Posts: 30

Hi all,

In Websphere MQ Explorer, under any windows queue manager, we have a folder to create topics.

Is this topic in MQ is same as MQTT topic ?

When I am publishing, in a particular MQTT topic, from Arduino I am able to receive those messages from same MQ topics in Explorer. But if I am opening a MQTT client utility and subscribing the same MQTT topic in which Arduino is publishing, , the client gets disconnected when Arduino starts publishing. Why is it like this ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 18, 2015 6:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Ok.

MQTT is an entirely separate protocol from MQ.

The MQTT daemon that ships with MQ acts as a bridge between MQ and MQTT. So when you publish or subscribe to messages on MQ topics, those can be bridged to the same topic in MQTT - that is, to the same topic string not the same topic object. So you can publish or subscribe on topics in MQTT and they will get bridged to MQ.

So, MQ <-- bridge --> MQTT.

On the MQTT side, the bridge is just an MQTT broker. You can use it just to connect MQTT applications to other MQTT applications, without bridging to MQ at all. There are many better options for doing this, however - IBM Message Sight, for example (which also bridges to MQ).

I can't think of a particular reason why your client utility gets disconnected when your arduino starts publishing. I suspect it's an issue with the client utility. Have you tried the sample utility that comes with the MQTT bridge?
Back to top
View user's profile Send private message
sharathsis123
PostPosted: Tue Mar 17, 2015 9:49 pm    Post subject: Reply with quote

Newbie

Joined: 17 Mar 2015
Posts: 2

Hi ,

Have configured the mqtt channel ? check whether the mqtt service is running ? check the status of system.mqtt.transmit.queue.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 23, 2015 5:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also, you should make sure that the arduino and the client are using different client ids when connecting to MQTT.

If they are the same, that will explain the problem. Each client must use a unique client ID or they will steal connections from each other.
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 » IBM MQ Telemetry / Low Latency Messaging / Everyplace » MQ Topic and MQTT Topic
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.