public interface PostOffice extends ActiveMQComponent
asyncStop, isStarted, start, stopboolean addAddressInfo(AddressInfo addressInfo) throws Exception
addressInfo - Exceptiondefault void reloadAddressInfo(AddressInfo addressInfo) throws Exception
ExceptionAddressInfo removeAddressInfo(SimpleString address) throws Exception
ExceptionAddressInfo removeAddressInfo(SimpleString address, boolean force) throws Exception
ExceptionAddressInfo getAddressInfo(SimpleString address)
AddressInfo updateAddressInfo(SimpleString addressName, EnumSet<RoutingType> routingTypes) throws Exception
Exception@Deprecated QueueBinding updateQueue(SimpleString name, RoutingType routingType, Filter filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, SimpleString groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, SimpleString user, Boolean configurationManaged) throws Exception
Exception@Deprecated QueueBinding updateQueue(SimpleString name, RoutingType routingType, Filter filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, SimpleString groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, SimpleString user, Boolean configurationManaged, Long ringSize) throws Exception
ExceptionQueueBinding updateQueue(QueueConfiguration queueConfiguration) throws Exception
ExceptionQueueBinding updateQueue(QueueConfiguration queueConfiguration, boolean forceUpdate) throws Exception
queueConfiguration - forceUpdate - Setting to true will make null values override current values tooExceptionList<Queue> listQueuesForAddress(SimpleString address) throws Exception
ExceptionBinding removeBinding(SimpleString uniqueName, Transaction tx, boolean deleteData) throws Exception
ExceptionBindings lookupBindingsForAddress(SimpleString address) throws Exception
address - ExceptionBindings getBindingsForAddress(SimpleString address) throws Exception
address - ExceptionBinding getBinding(SimpleString uniqueName)
Collection<Binding> getMatchingBindings(SimpleString address) throws Exception
ExceptionCollection<Binding> getDirectBindings(SimpleString address) throws Exception
ExceptionSimpleString getMatchingQueue(SimpleString address, RoutingType routingType) throws Exception
ExceptionSimpleString getMatchingQueue(SimpleString address, SimpleString queueName, RoutingType routingType) throws Exception
ExceptionRoutingStatus route(Message message, boolean direct) throws Exception
ExceptionRoutingStatus route(Message message, Transaction tx, boolean direct) throws Exception
ExceptionRoutingStatus route(Message message, Transaction tx, boolean direct, boolean rejectDuplicates) throws Exception
ExceptionRoutingStatus route(Message message, Transaction tx, boolean direct, boolean rejectDuplicates, Binding binding) throws Exception
ExceptionRoutingStatus route(Message message, RoutingContext context, boolean direct) throws Exception
ExceptionRoutingStatus route(Message message, RoutingContext context, boolean direct, boolean rejectDuplicates, Binding binding) throws Exception
Exception@Deprecated default MessageReference reroute(Message message, Queue queue, Transaction tx) throws Exception
message - queue - tx - ExceptionMessageReference reload(Message message, Queue queue, Transaction tx) throws Exception
ExceptionPair<RoutingContext,Message> redistribute(Message message, Queue originatingQueue, Transaction tx) throws Exception
Exceptionvoid processRoute(Message message, RoutingContext context, boolean direct) throws Exception
ExceptionDuplicateIDCache getDuplicateIDCache(SimpleString address)
void sendQueueInfoToQueue(SimpleString queueName, SimpleString address) throws Exception
ExceptionObject getNotificationLock()
void startExpiryScanner()
void startAddressQueueScanner()
boolean isAddressBound(SimpleString address) throws Exception
ExceptionSet<SimpleString> getAddresses()
void updateMessageLoadBalancingTypeForAddress(SimpleString address, MessageLoadBalancingType messageLoadBalancingType) throws Exception
ExceptionMirrorController getMirrorControlSource()
PostOffice setMirrorControlSource(MirrorController mirrorControllerSource)
void postAcknowledge(MessageReference ref, AckReason reason)
default void scanAddresses(MirrorController mirrorController) throws Exception
Exceptiondefault AddressManager getAddressManager()
Copyright © 2022 JBoss by Red Hat. All rights reserved.