Package org.apache.qpid.server.message
Interface MessageDestination
-
- All Superinterfaces:
MessageNode
- All Known Subinterfaces:
DirectExchange<X>
,Exchange<X>
,FanoutExchange<X>
,HeadersExchange<X>
,LastValueQueue<X>
,PriorityQueue<X>
,Queue<X>
,SortedQueue<X>
,StandardQueue<X>
,TopicExchange<X>
- All Known Implementing Classes:
AbstractExchange
,AbstractQueue
,DefaultDestination
,DirectExchangeImpl
,HeadersExchangeImpl
,LastValueQueueImpl
,OutOfOrderQueue
,PriorityQueueImpl
,SortedQueueImpl
,StandardQueueImpl
public interface MessageDestination extends MessageNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addReference(DestinationReferrer destinationReferrer)
void
authorisePublish(SecurityToken token, Map<String,Object> arguments)
NamedAddressSpace
getAddressSpace()
MessageDestination
getAlternateBindingDestination()
String
getName()
boolean
isDurable()
void
linkAdded(MessageSender sender, PublishingLink link)
void
linkRemoved(MessageSender sender, PublishingLink link)
void
removeReference(DestinationReferrer destinationReferrer)
<M extends ServerMessage<? extends StorableMessageMetaData>>
RoutingResult<M>route(M message, String routingAddress, InstanceProperties instanceProperties)
Routes a message
-
-
-
Method Detail
-
getName
String getName()
- Specified by:
getName
in interfaceMessageNode
-
getAddressSpace
NamedAddressSpace getAddressSpace()
-
authorisePublish
void authorisePublish(SecurityToken token, Map<String,Object> arguments) throws AccessControlException
- Throws:
AccessControlException
-
route
<M extends ServerMessage<? extends StorableMessageMetaData>> RoutingResult<M> route(M message, String routingAddress, InstanceProperties instanceProperties)
Routes a message- Parameters:
message
- the message to be routedroutingAddress
- the routing addressinstanceProperties
- the instance properties
-
isDurable
boolean isDurable()
-
linkAdded
void linkAdded(MessageSender sender, PublishingLink link)
-
linkRemoved
void linkRemoved(MessageSender sender, PublishingLink link)
-
getAlternateBindingDestination
MessageDestination getAlternateBindingDestination()
-
addReference
void addReference(DestinationReferrer destinationReferrer)
-
removeReference
void removeReference(DestinationReferrer destinationReferrer)
-
-