public class NodeReceivingDestination extends Object implements ReceivingDestination
| Modifier and Type | Field and Description |
|---|---|
static Rejected |
REJECTED |
DISCARD_UNROUTABLE, REJECT_UNROUTABLE| Constructor and Description |
|---|
NodeReceivingDestination(MessageDestination destination,
TerminusDurability durable,
TerminusExpiryPolicy expiryPolicy,
String address,
Symbol[] capabilities) |
| Modifier and Type | Method and Description |
|---|---|
void |
authorizePublish(SecurityToken securityToken,
Message_1_0 message) |
String |
getAddress() |
Symbol[] |
getCapabilities() |
int |
getCredit() |
MessageDestination |
getDestination() |
Outcome[] |
getOutcomes() |
String |
getRoutingAddress(Message_1_0 message) |
Outcome |
send(Message_1_0 message,
ServerTransaction txn) |
public static final Rejected REJECTED
public NodeReceivingDestination(MessageDestination destination, TerminusDurability durable, TerminusExpiryPolicy expiryPolicy, String address, Symbol[] capabilities)
public Outcome[] getOutcomes()
getOutcomes in interface ReceivingDestinationpublic Outcome send(Message_1_0 message, ServerTransaction txn)
send in interface ReceivingDestinationpublic String getAddress()
getAddress in interface ReceivingDestinationpublic void authorizePublish(SecurityToken securityToken, Message_1_0 message)
authorizePublish in interface ReceivingDestinationpublic String getRoutingAddress(Message_1_0 message)
getRoutingAddress in interface ReceivingDestinationpublic int getCredit()
getCredit in interface ReceivingDestinationpublic MessageDestination getDestination()
public Symbol[] getCapabilities()
getCapabilities in interface DestinationCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.