ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Pub-Sub Model

Post new topic  Reply to topic
 Pub-Sub Model « View previous topic :: View next topic » 
Author Message
RocknRambo
PostPosted: Sat Aug 27, 2005 10:14 am    Post subject: Pub-Sub Model Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Sat Aug 27, 2005 10:35 am    Post subject: Reply with quote

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
View user's profile Send private message
RocknRambo
PostPosted: Sat Aug 27, 2005 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Sat Aug 27, 2005 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Pub-Sub Model
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.