WebSphere Message Brokers
File: aq13040_
Writer: Terry Cowling

Task topic

This build: July 31, 2007 21:35:27

Subscribing

A subscriber registers a request for a publication by specifying the following elements.

When the publication node receives a message, it checks the subscription table to determine whether there are any subscription requests that either specify this particular node's subscription point, or match the content or topic, or both, of the message received.

For every match found, the node delivers the published message on the subscriber queue, using the optional CorrelId, if specified. If no CorrelId is specified, a fixed value is used. Each subscriber receives just one copy of each publication regardless of how many matching subscriptions that the client has.

SCADA applications use the SCADA port to publish and subscribe, and CorrelId is not applicable.

When the node has sent the publication to any subscribers that have a matching subscription, the publication is discarded, unless it is a retained publication.

Local subscriptions

Subscribers can specify a local option on registration. If they do so, their subscription registration is not forwarded to other brokers, but is held by the local broker. Any message that is published at this broker and matches the subscription is received by this subscriber, but messages published to other brokers are not normally available, unless the subscriber has also registered a global subscription with an overlapping topic and the same subscription point.

Retained publications

If retained publications are used, the subscriber can specify the following options when it registers a subscription.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:35:27

aq13040_ This topic's URL is: