public class AmqpSubscriptionTracker extends Object
| Constructor and Description |
|---|
AmqpSubscriptionTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
consumerRemoved(JmsConsumerInfo consumerInfo) |
String |
getFirstDurableSubscriptionLinkName(String subscriptionName,
boolean hasClientID) |
boolean |
isActiveDurableSub(String subscriptionName)
Checks if there is either a shared or exclusive durable subscription
already recorded as active with the given subscription name.
|
boolean |
isActiveExclusiveDurableSub(String subscriptionName)
Checks if there is an exclusive durable subscription already
recorded as active with the given subscription name.
|
boolean |
isActiveSharedDurableSub(String subscriptionName)
Checks if there is a shared durable subscription already
recorded as active with the given subscription name.
|
boolean |
isActiveSharedVolatileSub(String subscriptionName)
Checks if there is an shared volatile subscription already
recorded as active with the given subscription name.
|
String |
reserveNextSubscriptionLinkName(String subscriptionName,
JmsConsumerInfo consumerInfo) |
public String reserveNextSubscriptionLinkName(String subscriptionName, JmsConsumerInfo consumerInfo)
public String getFirstDurableSubscriptionLinkName(String subscriptionName, boolean hasClientID)
public boolean isActiveExclusiveDurableSub(String subscriptionName)
subscriptionName - name of subscription to checkpublic boolean isActiveSharedDurableSub(String subscriptionName)
subscriptionName - name of subscription to checkpublic boolean isActiveDurableSub(String subscriptionName)
subscriptionName - name of subscription to checkpublic boolean isActiveSharedVolatileSub(String subscriptionName)
subscriptionName - name of subscription to checkpublic void consumerRemoved(JmsConsumerInfo consumerInfo)
Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.