Author |
Message
|
arunmakhija |
Posted: Wed Jul 17, 2002 11:01 am Post subject: MQSeries Pub/Sub |
|
|
 Novice
Joined: 17 Jun 2002 Posts: 20 Location: Sydney
|
Hi
this website/forums are really good and only thing I think missing is the section for a very important featur about Pub/Sub. so thot of startinga new topic and have a question too
Publications are sent to a stream queue for publications
SYSTEM. BROKER. DEFAULT. STREAM by default
Subscriptions are sent to the broker’s control queue for registering the subscriber
- SYSTEM. BROKER. CONTROL. QUEUE
how does the Publisher gets registered with the Broker and where are these messages sent
later _________________ In Celebration of Being Alive !!! |
|
Back to top |
|
 |
sjackson |
Posted: Thu Jul 18, 2002 9:05 am Post subject: |
|
|
 Apprentice
Joined: 28 Jun 2001 Posts: 26 Location: Milwaukee
|
The Publishers are registered automatically the first time they publish a message. Or you can send a command message to the control queue, like a subscriber.
HTH
Scott |
|
Back to top |
|
 |
udaybho |
Posted: Fri Jul 19, 2002 8:36 am Post subject: |
|
|
Voyager
Joined: 09 May 2002 Posts: 94 Location: Chicago
|
When Publisher publishes a publication the broker distribute it to all the Temporary queue created by Subscriber. For example if you are doing Non durable subscription then you will see Temprory queues such as SYSTEM.JMS.ND.* these are the queues where you will see messages for a subscriber.
These Temporary dynamic queues are created by Subscriber at the time of registration.
Hope this helps.
Uday Bhosle |
|
Back to top |
|
 |
arunmakhija |
Posted: Fri Jul 19, 2002 8:42 am Post subject: |
|
|
 Novice
Joined: 17 Jun 2002 Posts: 20 Location: Sydney
|
Hey Scott
Thanks for the reply..I have one more query...
the way we explicitly register and deregister subscribers do we have to explicitly de-register the Publisher too ?? _________________ In Celebration of Being Alive !!! |
|
Back to top |
|
 |
sjackson |
Posted: Fri Jul 19, 2002 8:59 am Post subject: |
|
|
 Apprentice
Joined: 28 Jun 2001 Posts: 26 Location: Milwaukee
|
You need to send a "Deregister Publisher" command message.
Chapter 7 of the Publish / Subscribe User's Guide has all the command message parameters and such.
Regards,
Scott |
|
Back to top |
|
 |
arunmakhija |
Posted: Thu Aug 01, 2002 1:15 pm Post subject: |
|
|
 Novice
Joined: 17 Jun 2002 Posts: 20 Location: Sydney
|
thanks scott _________________ In Celebration of Being Alive !!! |
|
Back to top |
|
 |
|