public class DefaultDestination extends Object implements MessageDestination
| Constructor and Description |
|---|
DefaultDestination(VirtualHostImpl virtualHost) |
| 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
|
public DefaultDestination(VirtualHostImpl virtualHost)
public String getName()
getName in interface MessageDestinationgetName in interface MessageNodepublic final <M extends ServerMessage<? extends StorableMessageMetaData>> int send(M message, String routingAddress, InstanceProperties instanceProperties, ServerTransaction txn, Action<? super MessageInstance> postEnqueueAction)
MessageDestinationsend in interface MessageDestinationmessage - the message to be routedinstanceProperties - 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.