Author |
Message
|
garasan |
Posted: Tue Jan 08, 2013 3:10 am Post subject: Setup Publish/Subscribe |
|
|
 Apprentice
Joined: 22 Jul 2008 Posts: 42 Location: Antwerp, Belgium
|
Hi Everyone,
Off Topic:
first of all, I wish you all much positive MQ experience and good health for 2013. :-)
On topic.
I'm currently in progress of setting up publish/subscribe for the first time and wanted to benefit from peoples experience with this feature.
Anybody that has some "do and don'ts" about the setup of publish and subscribe and distributed publish/subscribe?
(About best practices, settings, security, etc....)
I know this question is global, but don't have any practical experience with publish/subscribe. (Although I'm going through a lot of documentation currently, but that's the theory only)
We are working with MQ V7.1.0 qmgrs on Linux.
I'll be happy to provide more info if needed/requested. _________________ Regards |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jan 08, 2013 6:12 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 08, 2013 6:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
By some ways of thinking, there's nothing to "set up" for pub/sub at MQ v7.1.
You just write code that uses it, and it just works.
There are higher level considerations - like how much you want to manage and secure it, and whether you are using content-based filtering on subscriptions.
There are sample pub/sub apps that come with MQ. You should play with them a bit. |
|
Back to top |
|
 |
garasan |
Posted: Tue Jan 08, 2013 7:13 am Post subject: |
|
|
 Apprentice
Joined: 22 Jul 2008 Posts: 42 Location: Antwerp, Belgium
|
@lancelotlinc: We are using the broker that is included within WebsphereMQ v7x.
@mqjeff:
Well, currently this is the first request I got to setup publish/subscribe on MQ level. But probably more requests will follow.
So I wanted to 'set it up' so that it remains manageable/secure even if there would be many topics.
Currently we are not using content based filtering.
I got a working situation currently. (Using the test apps from Explorer)
But don't have a view yet on the global manageable picture. Most off the time you get after some experience/issue's hence my request. :-) _________________ Regards |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 08, 2013 7:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
garasan wrote: |
@lancelotlinc: We are using the broker that is included within WebsphereMQ v7x. |
I think the poster was pointing out you've posted in a WMB section not a WMQ section. Are you in fact just using WMQ and need this thread moved? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
garasan |
Posted: Tue Jan 08, 2013 7:26 am Post subject: |
|
|
 Apprentice
Joined: 22 Jul 2008 Posts: 42 Location: Antwerp, Belgium
|
Oeps. Didn't get that. Sorry.
We are using the WMQ indeed. So this can be moved. _________________ Regards |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 08, 2013 7:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you want to manage and secure pub/sub, then you will create TOPIC objects, and apply management and security to those.
There are also commands and accounting&statistics for viewing the usage of topics - either managed or unmanaged.
You can also choose to allow applications to create their own subscriptions, or create SUBSCRIPTION objects yourself that then refer to real queues. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 08, 2013 8:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
garasan wrote: |
Oeps. Didn't get that. Sorry.
We are using the WMQ indeed. So this can be moved. |
Moved.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jan 08, 2013 9:26 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
garasan wrote: |
@lancelotlinc: We are using the broker that is included within WebsphereMQ v7x. |
There is no such product offering. Unlike ActiveMQ or Oracle Message Broker, IBM markets the WebSphere Message Queue product separate from the component that performs service brokering. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
zpat |
Posted: Tue Jan 08, 2013 9:44 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Deciding your topic tree hierarchy and naming standards is the most important step.
It's hard to change this once applications start using them. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 08, 2013 9:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
garasan wrote: |
@lancelotlinc: We are using the broker that is included within WebsphereMQ v7x. |
There is no such product offering. Unlike ActiveMQ or Oracle Message Broker, IBM markets the WebSphere Message Queue product separate from the component that performs service brokering. |
Yet it's not that product that performs pub/sub functions under v7; the Message Queue product does that.
Hence the OP's question is valid except only that it was accidently posted in the wrong section (now resolved). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jan 08, 2013 10:28 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vitor wrote: |
lancelotlinc wrote: |
garasan wrote: |
@lancelotlinc: We are using the broker that is included within WebsphereMQ v7x. |
There is no such product offering. Unlike ActiveMQ or Oracle Message Broker, IBM markets the WebSphere Message Queue product separate from the component that performs service brokering. |
Yet it's not that product that performs pub/sub functions under v7; the Message Queue product does that.
Hence the OP's question is valid except only that it was accidently posted in the wrong section (now resolved). |
The OP is under the impression that he is using a service broker. As IBM defines SOA componetry, this is less accurate (if not altogether incorrect terminology).
But I accept that moving the post to a different forum is a good action to take. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|