public interface PostOffice extends ActiveMQComponent
asyncStop, 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
@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
Exception
QueueBinding updateQueue(QueueConfiguration queueConfiguration) throws Exception
Exception
QueueBinding updateQueue(QueueConfiguration queueConfiguration, boolean forceUpdate) throws Exception
queueConfiguration
- forceUpdate
- Setting to true
will make null
values override current values tooException
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)
Collection<Binding> getMatchingBindings(SimpleString address) throws Exception
Exception
Collection<Binding> getDirectBindings(SimpleString address) throws Exception
Exception
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
@Deprecated default MessageReference reroute(Message message, Queue queue, Transaction tx) throws Exception
message
- queue
- tx
- Exception
MessageReference reload(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()
void startAddressQueueScanner()
boolean isAddressBound(SimpleString address) throws Exception
Exception
Set<SimpleString> getAddresses()
void updateMessageLoadBalancingTypeForAddress(SimpleString address, MessageLoadBalancingType messageLoadBalancingType) throws Exception
Exception
MirrorController getMirrorControlSource()
PostOffice setMirrorControlSource(MirrorController mirrorControllerSource)
void postAcknowledge(MessageReference ref, AckReason reason)
default void scanAddresses(MirrorController mirrorController) throws Exception
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.