Class AbstractSystemMessageSource
- java.lang.Object
-
- org.apache.qpid.server.virtualhost.AbstractSystemMessageSource
-
- All Implemented Interfaces:
MessageNode
,MessageSource
,TransactionLogResource
- Direct Known Subclasses:
TrustStoreMessageSource
,VirtualHostPropertiesNode
public abstract class AbstractSystemMessageSource extends Object implements MessageSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
AbstractSystemMessageSource.Consumer<T extends ConsumerTarget>
-
Nested classes/interfaces inherited from interface org.apache.qpid.server.message.MessageSource
MessageSource.ConsumerAccessRefused, MessageSource.ExistingConsumerPreventsExclusive, MessageSource.ExistingExclusiveConsumer, MessageSource.MessageConversionExceptionHandlingPolicy, MessageSource.QueueDeleted
-
-
Field Summary
Fields Modifier and Type Field Description protected NamedAddressSpace
_addressSpace
protected UUID
_id
protected String
_name
-
Constructor Summary
Constructors Constructor Description AbstractSystemMessageSource(String name, NamedAddressSpace addressSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ConsumerTarget<T>>
AbstractSystemMessageSource.Consumer<T>addConsumer(T target, FilterManager filters, Class<? extends ServerMessage> messageClass, String consumerName, EnumSet<ConsumerOption> options, Integer priority)
Collection<AbstractSystemMessageSource.Consumer<?>>
getConsumers()
UUID
getId()
MessageSource.MessageConversionExceptionHandlingPolicy
getMessageConversionExceptionHandlingPolicy()
MessageDurability
getMessageDurability()
String
getName()
boolean
verifySessionAccess(AMQPSession<?,?> session)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.qpid.server.message.MessageSource
close
-
-
-
-
Field Detail
-
_id
protected final UUID _id
-
_name
protected final String _name
-
_addressSpace
protected final NamedAddressSpace _addressSpace
-
-
Constructor Detail
-
AbstractSystemMessageSource
public AbstractSystemMessageSource(String name, NamedAddressSpace addressSpace)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceMessageNode
- Specified by:
getName
in interfaceTransactionLogResource
-
getId
public UUID getId()
- Specified by:
getId
in interfaceTransactionLogResource
-
getMessageDurability
public MessageDurability getMessageDurability()
- Specified by:
getMessageDurability
in interfaceTransactionLogResource
-
addConsumer
public <T extends ConsumerTarget<T>> AbstractSystemMessageSource.Consumer<T> addConsumer(T target, FilterManager filters, Class<? extends ServerMessage> messageClass, String consumerName, EnumSet<ConsumerOption> options, Integer priority) throws MessageSource.ExistingExclusiveConsumer, MessageSource.ExistingConsumerPreventsExclusive, MessageSource.ConsumerAccessRefused, MessageSource.QueueDeleted
-
getConsumers
public Collection<AbstractSystemMessageSource.Consumer<?>> getConsumers()
- Specified by:
getConsumers
in interfaceMessageSource
-
verifySessionAccess
public boolean verifySessionAccess(AMQPSession<?,?> session)
- Specified by:
verifySessionAccess
in interfaceMessageSource
-
getMessageConversionExceptionHandlingPolicy
public MessageSource.MessageConversionExceptionHandlingPolicy getMessageConversionExceptionHandlingPolicy()
- Specified by:
getMessageConversionExceptionHandlingPolicy
in interfaceMessageSource
-
-