|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Pub-Sub Model |
« View previous topic :: View next topic » |
Author |
Message
|
RocknRambo |
Posted: Sat Aug 27, 2005 10:14 am Post subject: Pub-Sub Model |
|
|
Partisan
Joined: 24 Sep 2003 Posts: 355
|
We use Pub-Sub Model in all every intergration we have... We form the Topic based on the message contents (apprx. 5 fields)....
and Subscription is based accordingly...
In case of a human error..
1. Subscription NOT setup.
2. Typo in the subscription.
High possibility of loosing a message, Is it possible to design Pub-Sub model, such tht.... if there isn't a subscription to a Published Message.. route to a some defined Queue.
any thoughts appreciated.
-RR |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Aug 27, 2005 10:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If there are no active subscriptions to the topic that a message is published on, the broker does not publish the message.
There are no facilities with any of the brokers that I am aware of to establish that in that case, a message should go to a dead letter queue or some such.
There is no particular reason not to create a subscriber that is subscribed to everything, and thus all published messages will go to that subscriber.
There is also no particular means for that subscriber to determine if there are no other subcribers to the particular topic of a particular message - that I know of. But maybe there are broker publications on the, well let me say subject rather than topic.
I suspect it also varies from broker to broker. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RocknRambo |
Posted: Sat Aug 27, 2005 10:56 am Post subject: |
|
|
Partisan
Joined: 24 Sep 2003 Posts: 355
|
Quote: |
jefflowrey wrote:There is no particular reason not to create a subscriber that is subscribed to everything, and thus all published messages will go to that subscriber. |
This is happening during the Promotion process of the solution from one Environment to other (Dev to QA). Admin team somehow forgot in their list to set up the subscription for a particular topic.
where in, our QA Team logged tht they lost messages... and so on..
but again.. as
Quote: |
jefflowrey mentioned...
If there are no active subscriptions to the topic that a message is published on, the broker does not publish the message. |
so If the Broker is NOT publishing the message.. is the message thrown away ?... If so, I'm looking for a mechanism to capture tht (I'm not sure though, whether I can though...) |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Aug 27, 2005 11:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, the broker throws away the message if it does not find any subscribers for the topic of the message.
You can create a subscriber that will subscribe to everything.
The broker may, I say may to indicate that I don't know and I'm not willing to look, publish a message itself when it decides to throw a message away.
For the WMQI/WBIMB broker, the publications that the broker makes are documented. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|