WebSphere Message Brokers
File: au19740_
Writer: Jane Brockbank

Reference topic

This build: July 31, 2007 21:39:55

Expired publications and subscriptions

Notification of the expiry of retained publications and subscriptions is published on the following system topics:
$SYS/Broker/broker_name/warning/expiry/Publication/timestamp/topic

$SYS/Broker/broker_name/warning/expiry/Subscription/timestamp/topic
where:
broker_name
is the name of the broker issuing this message
timestamp
is the time stamp of the expiry of the subscription or retained publication (expressed as a GMT time)
topic
is the topic of the subscription or retained publication

These events are nonpersistent, non-retained publications.

Examples

The following example event messages show a retained publication and subscription having expired.

Publication expired

Event publication topic =
"$SYS/Broker/Broker1/warning/expiry/Publication/2000-12-31
23:59:59/stock/IBM"

<Broker uuid="1234" label="Broker1" version="1">
  <ControlGroup>
    <DynamicSubscriptionEngine>
      <Topic name="stock/IBM">
        <Delete>
          <RetainedPublication
            subscriptionPoint="poundsSterling"/>
        </Delete>
      </Topic>
    </DynamicSubscriptionEngine>
  </ControlGroup>
</Broker>

Subscription expired

Event publication topic =
"$SYS/Broker/Broker1/warning/expiry/Subscription/2000-12-31
23:59:59/stock/IBM"

<Broker uuid="1234" label="Broker1" version="1">
  <ControlGroup>
    <DynamicSubscriptionEngine>
      <Topic name="stock/IBM">
        <Delete>
          <Subscription
            clientId="mqrfh2:Broker1:client1queue"
            subscriptionPoint="poundsSterling"
            filter="currentPrice>100"
            user="Fred"/>
        </Delete>
      </Topic>
    </DynamicSubscriptionEngine>
  </ControlGroup>
</Broker>
Related concepts
Broker domains
Related tasks
Creating a broker
Notices | Trademarks | Downloads | Library | Support | Feedback

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

au19740_ This topic's URL is: