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 IndexGeneral IBM MQ SupportDifference between MQTT pub sub and MQ pub sub

Post new topicReply to topic
Difference between MQTT pub sub and MQ pub sub View previous topic :: View next topic
Author Message
vmanel
PostPosted: Wed Mar 20, 2019 7:52 am Post subject: Difference between MQTT pub sub and MQ pub sub Reply with quote

Novice

Joined: 12 Mar 2019
Posts: 20

What is the difference between,
1) Setting topic string in MQRFH2.psc.topic in esql of the message flow in IIB, and then using the publication node for publishing. Topic is not created in MQ, but only subscriptions are created in MQ for that Topic string. I am assuming that here the method used is MQTT pub.
2) Using an MQ output node in flow which is an Alias Queue, whose base type is Topic. And that Topic is created in MQ and subscriptions are created in MQ for that topic. Here MQ Topics are used for publishing

What is the difference between using IIB's inbuilt PubSub and MQ PubSub? How to decide in which scenario which method should be used?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 20, 2019 9:11 am Post subject: Re: Difference between MQTT pub sub and MQ pub sub Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25729
Location: Ohio, USA

vmanel wrote:
I am assuming that here the method used is MQTT pub.


No it isn't. The clue is that you're using an MQRFH2 header.

vmanel wrote:
What is the difference between using IIB's inbuilt PubSub and MQ PubSub?


The difference is that IIB doesn't have an inbuilt method.

The question you're asking is under what circumstances would you define a Topic object inside MQ to control it's pub/sub behavior and under what circumstances would you not. Having a predefined topic inside MQ is not a prerequisite for either publishing or subscribing.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vmanel
PostPosted: Wed Mar 20, 2019 10:30 am Post subject: Re: Difference between MQTT pub sub and MQ pub sub Reply with quote

Novice

Joined: 12 Mar 2019
Posts: 20

Vitor wrote:
The difference is that IIB doesn't have an inbuilt method.


Then what is MQTT pubsub, isnt that built in IIB broker?

Vitor wrote:
The question you're asking is under what circumstances would you define a Topic object inside MQ to control it's pub/sub behavior and under what circumstances would you not. Having a predefined topic inside MQ is not a prerequisite for either publishing or subscribing.


Yes, my question is how will these two method[that is directly publishing to a topic string using MQRFH2 without MQ topic and publishing by creating an MQ topic] make a difference?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 20, 2019 10:41 am Post subject: Re: Difference between MQTT pub sub and MQ pub sub Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25729
Location: Ohio, USA

vmanel wrote:
Vitor wrote:
The difference is that IIB doesn't have an inbuilt method.


Then what is MQTT pubsub, isnt that built in IIB broker?


You're mixing methods. IIB uses MQTT for the internal messages that used to be published to remove the dependency on a queue manager. That's not what you're using with the Publication node.

vmanel wrote:
Vitor wrote:
The question you're asking is under what circumstances would you define a Topic object inside MQ to control it's pub/sub behavior and under what circumstances would you not. Having a predefined topic inside MQ is not a prerequisite for either publishing or subscribing.


Yes, my question is how will these two method[that is directly publishing to a topic string using MQRFH2 without MQ topic and publishing by creating an MQ topic] make a difference?


It makes exactly the same difference as if you're using something else (like a C++ or Java app) to publish or subscribe via MQ.

The short answer (and if you want a longer answer, ask in the MQ section of this forum) is that a topic object is an administrative device to control 1-n publications. If you don't specify a topic object (what you call 'directly publishing") then your publication is under the administrative control of the default system topic object "/". There's no difference to the publisher or the subscriber, the difference is how the queue manager managers.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 IndexGeneral IBM MQ SupportDifference between MQTT pub sub and MQ pub sub
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.