public class WildcardAddressManager extends SimpleAddressManager
mappings, wildcardConfiguration| Constructor and Description |
|---|
WildcardAddressManager(BindingsFactory bindingsFactory,
StorageManager storageManager) |
WildcardAddressManager(BindingsFactory bindingsFactory,
WildcardConfiguration wildcardConfiguration,
StorageManager storageManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addBinding(Binding binding)
If the address to add the binding to contains a wildcard then a copy of the binding (with the same underlying queue)
will be added to the actual mappings.
|
void |
clear() |
Bindings |
getBindingsForRoutingAddress(SimpleString address) |
AddressInfo |
removeAddressInfo(SimpleString address) |
Binding |
removeBinding(SimpleString uniqueName,
Transaction tx)
If the address is a wild card then the binding will be removed from the actual mappings for any linked address.
|
void |
updateMessageLoadBalancingTypeForAddress(SimpleString address,
MessageLoadBalancingType messageLoadBalancingType) |
addAddressInfo, addMappingInternal, getAddresses, getAddressInfo, getBinding, getBindings, getDirectBindings, getMatchingBindings, getMatchingQueue, getMatchingQueue, reloadAddressInfo, removeBindingInternal, removeMapping, updateAddressInfopublic WildcardAddressManager(BindingsFactory bindingsFactory, WildcardConfiguration wildcardConfiguration, StorageManager storageManager)
public WildcardAddressManager(BindingsFactory bindingsFactory, StorageManager storageManager)
public Bindings getBindingsForRoutingAddress(SimpleString address) throws Exception
getBindingsForRoutingAddress in interface AddressManagergetBindingsForRoutingAddress in class SimpleAddressManagerExceptionpublic boolean addBinding(Binding binding) throws Exception
addBinding in interface AddressManageraddBinding in class SimpleAddressManagerbinding - the binding to addExceptionpublic void updateMessageLoadBalancingTypeForAddress(SimpleString address, MessageLoadBalancingType messageLoadBalancingType) throws Exception
updateMessageLoadBalancingTypeForAddress in interface AddressManagerupdateMessageLoadBalancingTypeForAddress in class SimpleAddressManagerExceptionpublic Binding removeBinding(SimpleString uniqueName, Transaction tx) throws Exception
removeBinding in interface AddressManagerremoveBinding in class SimpleAddressManageruniqueName - the name of the binding to removeExceptionpublic AddressInfo removeAddressInfo(SimpleString address) throws Exception
removeAddressInfo in interface AddressManagerremoveAddressInfo in class SimpleAddressManagerExceptionpublic void clear()
clear in interface AddressManagerclear in class SimpleAddressManagerCopyright © 2019 JBoss by Red Hat. All rights reserved.