Two Laptop Bag*
The moose likes Java in General and the fly likes MQ Publish/Subscribe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "MQ Publish/Subscribe" Watch "MQ Publish/Subscribe" New topic

MQ Publish/Subscribe

Elle Atechsy
Ranch Hand

Joined: Jan 23, 2004
Posts: 96
Hi All,

I apologize ahead of time if I'm posting in the wrong forum.

I'm trying to learn to use publish/subscribe feature for a service oriented application. I understand how to create the JMS client for both the client to send messages and the service to receive the messages. However, (and maybe I'm over thinking) do I have to set up the queues in any special way to accomodate publish/subcribe vs. point to point? Or, are the queues configured the same regardles of p/s or p2p?

Thanks for any assistance.

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm pretty sure with our MQ-Series implementation the queue manager needs to know the queue type. What queuing tool are you using under the JMS covers? I expect you will find a checkbox or option in your queue definition for either p2p or pub/sub.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
It is sorta covered in the JavaRanch Style Guide.
subject: MQ Publish/Subscribe