public interface MessageDestination extends MessageNode
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
<M extends ServerMessage<? extends StorableMessageMetaData>> |
send(M message,
String routingAddress,
InstanceProperties instanceProperties,
ServerTransaction txn,
Action<? super MessageInstance> postEnqueueAction)
Routes a message
|
String getName()
getName in interface MessageNode<M extends ServerMessage<? extends StorableMessageMetaData>> int send(M message, String routingAddress, InstanceProperties instanceProperties, ServerTransaction txn, Action<? super MessageInstance> postEnqueueAction)
message - the message to be routedroutingAddress - instanceProperties - the instance propertiestxn - the transaction to enqueue withinpostEnqueueAction - action to perform on the result of every enqueue (may be null)Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.