public interface PostOffice extends HornetQComponent
| Modifier and Type | Method and Description |
|---|---|
void |
addBinding(Binding binding) |
Binding |
getBinding(SimpleString uniqueName) |
Bindings |
getBindingsForAddress(SimpleString address)
Differently to lookupBindings, this will always create a new element on the Queue if non-existent
|
DuplicateIDCache |
getDuplicateIDCache(SimpleString address) |
Bindings |
getMatchingBindings(SimpleString address) |
Object |
getNotificationLock() |
PagingManager |
getPagingManager() |
Bindings |
lookupBindingsForAddress(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) |
Pair<RoutingContext,ServerMessage> |
redistribute(ServerMessage message,
Queue originatingQueue,
Transaction tx) |
Binding |
removeBinding(SimpleString uniqueName) |
MessageReference |
reroute(ServerMessage message,
Queue queue,
Transaction tx) |
void |
route(ServerMessage message,
boolean direct) |
void |
route(ServerMessage message,
RoutingContext context,
boolean direct) |
void |
route(ServerMessage message,
RoutingContext context,
boolean direct,
boolean rejectDuplicates) |
void |
route(ServerMessage message,
Transaction tx,
boolean direct) |
void |
route(ServerMessage message,
Transaction tx,
boolean direct,
boolean rejectDuplicates) |
void |
sendQueueInfoToQueue(SimpleString queueName,
SimpleString address) |
isStarted, start, stopBinding removeBinding(SimpleString uniqueName) throws Exception
ExceptionBindings lookupBindingsForAddress(SimpleString address) throws Exception
address - ExceptionBindings getBindingsForAddress(SimpleString address) throws Exception
address - ExceptionBinding getBinding(SimpleString uniqueName)
Bindings getMatchingBindings(SimpleString address) throws Exception
Exceptionvoid route(ServerMessage message, boolean direct) throws Exception
Exceptionvoid route(ServerMessage message, Transaction tx, boolean direct) throws Exception
Exceptionvoid route(ServerMessage message, Transaction tx, boolean direct, boolean rejectDuplicates) throws Exception
Exceptionvoid route(ServerMessage message, RoutingContext context, boolean direct) throws Exception
Exceptionvoid route(ServerMessage message, RoutingContext context, boolean direct, boolean rejectDuplicates) throws Exception
ExceptionMessageReference reroute(ServerMessage message, Queue queue, Transaction tx) throws Exception
ExceptionPair<RoutingContext,ServerMessage> redistribute(ServerMessage message, Queue originatingQueue, Transaction tx) throws Exception
Exceptionvoid processRoute(ServerMessage message, RoutingContext context, boolean direct) throws Exception
ExceptionPagingManager getPagingManager()
DuplicateIDCache getDuplicateIDCache(SimpleString address)
void sendQueueInfoToQueue(SimpleString queueName, SimpleString address) throws Exception
ExceptionObject getNotificationLock()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.