Author |
Message
|
phaniIIB |
Posted: Wed Feb 24, 2016 12:20 pm Post subject: IBM MQ 8.0 Pub-Sub Model |
|
|
Acolyte
Joined: 28 Jul 2015 Posts: 51
|
Hi all,
I have a very basic question on Pub-Sub of IBM Websphere MQ.
I know that we have to tag queues to subscriptions. Is there a way where we need not have any queues created for subscriptions.
Is it that we have to have a queue associated with each subscription. If so, then what is the advantage that Pub-Sub brings onto table.
Can anyone please explain this. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 24, 2016 12:30 pm Post subject: Re: IBM MQ 8.0 Pub-Sub Model |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
phaniIIB wrote: |
I know that we have to tag queues to subscriptions. |
How did you come to know that? It's not the case.
phaniIIB wrote: |
Is there a way where we need not have any queues created for subscriptions. |
The subscriber can select a number of possible delivery options.
phaniIIB wrote: |
Is it that we have to have a queue associated with each subscription. |
No.
phaniIIB wrote: |
Can anyone please explain this. |
The explanation is you don't understand pub/sub properly.
Read, experiment, determine. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Feb 24, 2016 12:33 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Pub/Sub gives you a 1-to-1 and a 1-to-many distribution based upon the Topics and Subscriptions present.
This is all explained in the documentation. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 24, 2016 12:36 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
Pub/Sub gives you a 1-to-1 and a 1-to-many distribution based upon the Topics and Subscriptions present. |
Even if you do decide to "tag" queues to subscriptions, this is still a key advantage. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
phaniIIB |
Posted: Wed Feb 24, 2016 2:37 pm Post subject: |
|
|
Acolyte
Joined: 28 Jul 2015 Posts: 51
|
So can anyone quote an example of subscriber in IIB. How do we define an application to be a subscriber. I mean where do we configure it.
Thanks in advance,
Phani |
|
Back to top |
|
 |
maurito |
Posted: Wed Feb 24, 2016 11:31 pm Post subject: |
|
|
Partisan
Joined: 17 Apr 2014 Posts: 358
|
|
Back to top |
|
 |
joebuckeye |
Posted: Thu Feb 25, 2016 7:47 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
phaniIIB wrote: |
So can anyone quote an example of subscriber in IIB. How do we define an application to be a subscriber. I mean where do we configure it. |
You really need to understand the Pub/Sub model better.
maurito gave a good link to a Pub/Sub broker project but your question makes it seem like you still don't understand Pub/Sub.
There is nothing inherent in any application (broker or otherwise) that would let you know it was a subscriber to a publication. This means there is no way to "configure" an application to be a subscriber. |
|
Back to top |
|
 |
|