public interface PostOffice extends ActiveMQComponent
isStarted, start, stop
boolean addAddressInfo(AddressInfo addressInfo) throws Exception
addressInfo
- Exception
default void reloadAddressInfo(AddressInfo addressInfo) throws Exception
Exception
AddressInfo removeAddressInfo(SimpleString address) throws Exception
Exception
AddressInfo removeAddressInfo(SimpleString address, boolean force) throws Exception
Exception
AddressInfo getAddressInfo(SimpleString address)
AddressInfo updateAddressInfo(SimpleString addressName, EnumSet<RoutingType> routingTypes) throws Exception
Exception
QueueBinding updateQueue(SimpleString name, RoutingType routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive) throws Exception
Exception
List<Queue> listQueuesForAddress(SimpleString address) throws Exception
Exception
Binding removeBinding(SimpleString uniqueName, Transaction tx, boolean deleteData) throws Exception
Exception
Bindings lookupBindingsForAddress(SimpleString address) throws Exception
address
- Exception
Bindings getBindingsForAddress(SimpleString address) throws Exception
address
- Exception
Binding getBinding(SimpleString uniqueName)
Bindings getMatchingBindings(SimpleString address) throws Exception
Exception
Bindings getDirectBindings(SimpleString address) throws Exception
Exception
Map<SimpleString,Binding> getAllBindings()
SimpleString getMatchingQueue(SimpleString address, RoutingType routingType) throws Exception
Exception
SimpleString getMatchingQueue(SimpleString address, SimpleString queueName, RoutingType routingType) throws Exception
Exception
RoutingStatus route(Message message, boolean direct) throws Exception
Exception
RoutingStatus route(Message message, Transaction tx, boolean direct) throws Exception
Exception
RoutingStatus route(Message message, Transaction tx, boolean direct, boolean rejectDuplicates) throws Exception
Exception
RoutingStatus route(Message message, Transaction tx, boolean direct, boolean rejectDuplicates, Binding binding) throws Exception
Exception
RoutingStatus route(Message message, RoutingContext context, boolean direct) throws Exception
Exception
RoutingStatus route(Message message, RoutingContext context, boolean direct, boolean rejectDuplicates, Binding binding) throws Exception
Exception
MessageReference reroute(Message message, Queue queue, Transaction tx) throws Exception
Exception
Pair<RoutingContext,Message> redistribute(Message message, Queue originatingQueue, Transaction tx) throws Exception
Exception
void processRoute(Message message, RoutingContext context, boolean direct) throws Exception
Exception
DuplicateIDCache getDuplicateIDCache(SimpleString address)
void sendQueueInfoToQueue(SimpleString queueName, SimpleString address) throws Exception
Exception
Object getNotificationLock()
void startExpiryScanner()
boolean isAddressBound(SimpleString address) throws Exception
Exception
Set<SimpleString> getAddresses()
void updateMessageLoadBalancingTypeForAddress(SimpleString address, MessageLoadBalancingType messageLoadBalancingType) throws Exception
Exception
Copyright © 2018 JBoss by Red Hat. All rights reserved.