public class NetworkBridgeUtils extends Object
Constructor and Description |
---|
NetworkBridgeUtils() |
Modifier and Type | Method and Description |
---|---|
static ActiveMQDestination |
findMatchingDestination(ActiveMQDestination[] dests,
ActiveMQDestination destination) |
static BrokerSubscriptionInfo |
getBrokerSubscriptionInfo(BrokerService brokerService,
NetworkBridgeConfiguration config)
Generate the BrokerSubscriptionInfo which is used to tell the broker on the other
side of the network bridge which NC durable subscriptions are still needed for demand.
|
static boolean |
isDestForcedDurable(ActiveMQDestination destination) |
static boolean |
isForcedDurable(ConsumerInfo info,
ActiveMQDestination[] dynamicallyIncludedDestinations,
ActiveMQDestination[] staticallyIncludedDestinations) |
static boolean |
isForcedDurable(ConsumerInfo info,
List<ActiveMQDestination> dynamicallyIncludedDestinations) |
static boolean |
matchesDestinations(ActiveMQDestination[] dests,
ActiveMQDestination destination) |
static boolean |
matchesNetworkConfig(NetworkBridgeConfiguration config,
ActiveMQDestination destination) |
public NetworkBridgeUtils()
public static BrokerSubscriptionInfo getBrokerSubscriptionInfo(BrokerService brokerService, NetworkBridgeConfiguration config)
brokerService
- config
- public static boolean isForcedDurable(ConsumerInfo info, List<ActiveMQDestination> dynamicallyIncludedDestinations)
public static boolean isForcedDurable(ConsumerInfo info, ActiveMQDestination[] dynamicallyIncludedDestinations, ActiveMQDestination[] staticallyIncludedDestinations)
public static boolean matchesNetworkConfig(NetworkBridgeConfiguration config, ActiveMQDestination destination)
public static boolean matchesDestinations(ActiveMQDestination[] dests, ActiveMQDestination destination)
public static ActiveMQDestination findMatchingDestination(ActiveMQDestination[] dests, ActiveMQDestination destination)
public static boolean isDestForcedDurable(ActiveMQDestination destination)
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.