public class QueueDestination extends MessageSourceDestination implements SendingDestination, ReceivingDestination
DISCARD_UNROUTABLE, REJECT_UNROUTABLE| Constructor and Description |
|---|
QueueDestination(Queue<?> queue,
String address) |
| Modifier and Type | Method and Description |
|---|---|
void |
authorizePublish(SecurityToken securityToken,
Message_1_0 message) |
String |
getAddress() |
int |
getCredit() |
Outcome[] |
getOutcomes() |
Queue<?> |
getQueue() |
String |
getRoutingAddress(Message_1_0 message) |
Outcome |
send(Message_1_0 message,
ServerTransaction txn) |
getCapabilitiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapabilitiespublic Outcome[] getOutcomes()
getOutcomes in interface ReceivingDestinationgetOutcomes in class MessageSourceDestinationpublic Outcome send(Message_1_0 message, ServerTransaction txn)
send in interface ReceivingDestinationpublic int getCredit()
getCredit in interface ReceivingDestinationgetCredit in class MessageSourceDestinationpublic Queue<?> getQueue()
getQueue in class MessageSourceDestinationpublic String getRoutingAddress(Message_1_0 message)
getRoutingAddress in interface ReceivingDestinationpublic void authorizePublish(SecurityToken securityToken, Message_1_0 message)
authorizePublish in interface ReceivingDestinationpublic String getAddress()
getAddress in interface ReceivingDestinationCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.