public interface PostOffice
extends org.apache.activemq.artemis.core.server.ActiveMQComponent
| Modifier and Type | Method and Description |
|---|---|
void |
addBinding(Binding binding) |
Set<org.apache.activemq.artemis.api.core.SimpleString> |
getAddresses() |
Map<org.apache.activemq.artemis.api.core.SimpleString,Binding> |
getAllBindings() |
Binding |
getBinding(org.apache.activemq.artemis.api.core.SimpleString uniqueName) |
Bindings |
getBindingsForAddress(org.apache.activemq.artemis.api.core.SimpleString address)
Differently to lookupBindings, this will always create a new element on the Queue if non-existent
|
DuplicateIDCache |
getDuplicateIDCache(org.apache.activemq.artemis.api.core.SimpleString address) |
Bindings |
getMatchingBindings(org.apache.activemq.artemis.api.core.SimpleString address) |
Object |
getNotificationLock() |
boolean |
isAddressBound(org.apache.activemq.artemis.api.core.SimpleString address) |
Bindings |
lookupBindingsForAddress(org.apache.activemq.artemis.api.core.SimpleString address)
It will lookup the Binding without creating an item on the Queue if non-existent
|
void |
processRoute(ServerMessage message,
RoutingContext context,
boolean direct) |
org.apache.activemq.artemis.api.core.Pair<RoutingContext,ServerMessage> |
redistribute(ServerMessage message,
Queue originatingQueue,
Transaction tx) |
Binding |
removeBinding(org.apache.activemq.artemis.api.core.SimpleString uniqueName,
Transaction tx,
boolean deleteData) |
MessageReference |
reroute(ServerMessage message,
Queue queue,
Transaction tx) |
RoutingStatus |
route(ServerMessage message,
QueueCreator queueCreator,
boolean direct) |
RoutingStatus |
route(ServerMessage message,
QueueCreator queueCreator,
RoutingContext context,
boolean direct) |
RoutingStatus |
route(ServerMessage message,
QueueCreator queueCreator,
RoutingContext context,
boolean direct,
boolean rejectDuplicates) |
RoutingStatus |
route(ServerMessage message,
QueueCreator queueCreator,
Transaction tx,
boolean direct) |
RoutingStatus |
route(ServerMessage message,
QueueCreator queueCreator,
Transaction tx,
boolean direct,
boolean rejectDuplicates) |
void |
sendQueueInfoToQueue(org.apache.activemq.artemis.api.core.SimpleString queueName,
org.apache.activemq.artemis.api.core.SimpleString address) |
void |
startExpiryScanner() |
Binding removeBinding(org.apache.activemq.artemis.api.core.SimpleString uniqueName, Transaction tx, boolean deleteData) throws Exception
ExceptionBindings lookupBindingsForAddress(org.apache.activemq.artemis.api.core.SimpleString address) throws Exception
address - ExceptionBindings getBindingsForAddress(org.apache.activemq.artemis.api.core.SimpleString address) throws Exception
address - ExceptionBinding getBinding(org.apache.activemq.artemis.api.core.SimpleString uniqueName)
Bindings getMatchingBindings(org.apache.activemq.artemis.api.core.SimpleString address) throws Exception
ExceptionRoutingStatus route(ServerMessage message, QueueCreator queueCreator, boolean direct) throws Exception
ExceptionRoutingStatus route(ServerMessage message, QueueCreator queueCreator, Transaction tx, boolean direct) throws Exception
ExceptionRoutingStatus route(ServerMessage message, QueueCreator queueCreator, Transaction tx, boolean direct, boolean rejectDuplicates) throws Exception
ExceptionRoutingStatus route(ServerMessage message, QueueCreator queueCreator, RoutingContext context, boolean direct) throws Exception
ExceptionRoutingStatus route(ServerMessage message, QueueCreator queueCreator, RoutingContext context, boolean direct, boolean rejectDuplicates) throws Exception
ExceptionMessageReference reroute(ServerMessage message, Queue queue, Transaction tx) throws Exception
Exceptionorg.apache.activemq.artemis.api.core.Pair<RoutingContext,ServerMessage> redistribute(ServerMessage message, Queue originatingQueue, Transaction tx) throws Exception
Exceptionvoid processRoute(ServerMessage message, RoutingContext context, boolean direct) throws Exception
ExceptionDuplicateIDCache getDuplicateIDCache(org.apache.activemq.artemis.api.core.SimpleString address)
void sendQueueInfoToQueue(org.apache.activemq.artemis.api.core.SimpleString queueName,
org.apache.activemq.artemis.api.core.SimpleString address)
throws Exception
ExceptionObject getNotificationLock()
void startExpiryScanner()
boolean isAddressBound(org.apache.activemq.artemis.api.core.SimpleString address)
throws Exception
ExceptionSet<org.apache.activemq.artemis.api.core.SimpleString> getAddresses()
Copyright © 2023 The Apache Software Foundation. All rights reserved.