public class FederatedAddress extends FederatedAbstract implements ActiveMQServerBindingPlugin, ActiveMQServerAddressPlugin, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
FederatedAddress.Matcher |
Modifier and Type | Field and Description |
---|---|
static String |
FEDERATED_QUEUE_PREFIX |
static SimpleString |
HDR_HOPS |
federation, remoteQueueConsumers, server, upstream, wildcardConfiguration
Constructor and Description |
---|
FederatedAddress(Federation federation,
FederationAddressPolicyConfiguration config,
ActiveMQServer server,
FederationUpstream upstream) |
Modifier and Type | Method and Description |
---|---|
void |
afterAddAddress(AddressInfo addressInfo,
boolean reload)
After an address has been added tot he broker
|
void |
afterAddBinding(Binding binding)
After a binding has been added
|
void |
beforeRemoveBinding(SimpleString uniqueName,
Transaction tx,
boolean deleteData)
Before a binding is removed
|
FederationAddressPolicyConfiguration |
getConfig() |
void |
start() |
createRemoteConsumer, getTransformer, isStarted, mergeTransformers, registered, removeRemoteConsumer, stop, unregistered
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterRemoveBinding, beforeAddBinding
afterRemoveAddress, afterUpdateAddress, beforeAddAddress, beforeRemoveAddress, beforeUpdateAddress
init, registered, unregistered
public static final String FEDERATED_QUEUE_PREFIX
public static final SimpleString HDR_HOPS
public FederatedAddress(Federation federation, FederationAddressPolicyConfiguration config, ActiveMQServer server, FederationUpstream upstream)
public void start()
start
in class FederatedAbstract
public void afterAddAddress(AddressInfo addressInfo, boolean reload)
ActiveMQServerAddressPlugin
afterAddAddress
in interface ActiveMQServerAddressPlugin
addressInfo
- The newly added addressreload
- If the address is being reloadedpublic void afterAddBinding(Binding binding)
ActiveMQServerBindingPlugin
afterAddBinding
in interface ActiveMQServerBindingPlugin
binding
- The newly added bindingpublic void beforeRemoveBinding(SimpleString uniqueName, Transaction tx, boolean deleteData)
ActiveMQServerBindingPlugin
beforeRemoveBinding
in interface ActiveMQServerBindingPlugin
public FederationAddressPolicyConfiguration getConfig()
Copyright © 2021 JBoss by Red Hat. All rights reserved.