Spring.Messaging.Amqp.Rabbit
AbstractMessageListenerContainer Class Members
See Also  Fields  Properties  Methods  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener Namespace : AbstractMessageListenerContainer Class


The following tables list the members exposed by AbstractMessageListenerContainer.

Protected Fields

 NameDescription
Protected FieldautoAck  
Protected FieldlifecycleMonitor (Inherited from AbstractRabbitListeningContainer)
Top

Public Properties

 NameDescription
Public PropertyAutoAck  
Public PropertyChannelTransacted (Inherited from Spring.Messaging.Amqp.Rabbit.Core.RabbitAccessor)
Public PropertyConnectionFactory (Inherited from Spring.Messaging.Amqp.Rabbit.Core.RabbitAccessor)
Public PropertyErrorHandler Sets an ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message. By default there will be no ErrorHandler so that error-level logging is the only result.  
Public PropertyExposeListenerChannel Exposes the listener channel to a registered Spring.Messaging.Amqp.Rabbit.Core.IChannelAwareMessageListener as well as to Spring.Messaging.Amqp.Rabbit.Core.RabbitTemplate calls. Default is true, reusing the listener's IModel  
Public PropertyIsActive Gets a value indicating whether this container is currently active, that is whether it has been set up but not shut down yet. (Inherited from AbstractRabbitListeningContainer)
Public PropertyIsRunning (Inherited from AbstractRabbitListeningContainer)
Public PropertyMessageListener Sets the message listener to register with the container. This can be either a Spring Spring.Messaging.Amqp.Core.IMessageListener object or a Spring Spring.Messaging.Amqp.Rabbit.Core.IChannelAwareMessageListener object.  
Public PropertyObjectName Set the name of the object in the object factory that created this object. (Inherited from AbstractRabbitListeningContainer)
Public PropertyQueue Gets or sets the name of the queue to receive messages from  
Public PropertyRunning Gets a value indicating whether this container is currently running, that is, whether it has been started and not stopped yet. (Inherited from AbstractRabbitListeningContainer)
Top

Protected Properties

 NameDescription
Protected PropertySharedConnection (Inherited from AbstractRabbitListeningContainer)
Protected PropertySharedConnectionEnabled Gets a value indicating whether a shared Rabbited connection should be maintained by this container base class (Inherited from AbstractRabbitListeningContainer)
Top

Public Methods

 NameDescription
Public MethodAfterPropertiesSet (Inherited from AbstractRabbitListeningContainer)
Public MethodDispose (Inherited from AbstractRabbitListeningContainer)
Public MethodInitialize Initializes this container. Creates and calls a Rabbit Connection and calls AbstractRabbitListeningContainer.DoInitialize. (Inherited from AbstractRabbitListeningContainer)
Public MethodRequiredQueueName  
Public MethodShutdown Stop the shared Connection, call AbstractRabbitListeningContainer.DoShutdown and close this container (Inherited from AbstractRabbitListeningContainer)
Public MethodStart Starts this container. (Inherited from AbstractRabbitListeningContainer)
Public MethodStop Stop this container. (Inherited from AbstractRabbitListeningContainer)
Top

Protected Methods

 NameDescription
Protected MethodCheckMessageListener Checks the message listener, throwing an exception if it does not correspond to a supported listener type. By default, only a Spring.Messaging.Amqp.Core.IMessageListener object or a Spring Spring.Messaging.Amqp.Rabbit.Core.IChannelAwareMessageListener object will be accepted.  
Protected MethodCommitIfNecessary Perform a commit or message acknowledgement, as appropriate  
Protected MethodCreateChannel (Inherited from Spring.Messaging.Amqp.Rabbit.Core.RabbitAccessor)
Protected MethodCreateConnection (Inherited from Spring.Messaging.Amqp.Rabbit.Core.RabbitAccessor)
Protected MethodCreateSharedConnection Creates the shared connection for this container. (Inherited from AbstractRabbitListeningContainer)
Protected MethodDoExecuteListener Executes the specified listener, committing or rolling back the transaction afterwards (if necessary).  
Protected MethodDoInitialize Registers any invokers within this container. Subclasses need to implement this method for their specific invoker management process. (Inherited from AbstractRabbitListeningContainer)
Protected MethodDoInvokeListenerOverloaded.  Invoke the specified listener as Spring SessionAwareMessageListener, exposing a new Rabbit Channel (potentially with its own transaction) to the listener if demanded.  
Protected MethodDoShutdown Close the registered invokers. Subclasses need to implement this method for their specific invoker management process. (Inherited from AbstractRabbitListeningContainer)
Protected MethodDoStart Start the shared Connection, if any, and notify all invoker tasks. (Inherited from AbstractRabbitListeningContainer)
Protected MethodDoStop Notify all invoker tasks and stop the shared Connection, if any. (Inherited from AbstractRabbitListeningContainer)
Protected MethodEstablishSharedConnection Establishes the shared connection for this container. (Inherited from AbstractRabbitListeningContainer)
Protected MethodExecuteListener Executes the specified listener, committing or rolling back the transaction afterwards (if necessary).  
Protected MethodHandleListenerException Handle the given exception that arose during listener execution.  
Protected MethodInvokeErrorHandler Invokes the error handler.  
Protected MethodInvokeListener Invokes the specified listener: either as standard NMS MessageListener or (preferably) as Spring SessionAwareMessageListener.  
Protected MethodIsChannelLocallyTransacted Determines whether the given Channel is locally transacted, that is, whether its transaction is managed by this listener container's Channel handling and not by an external transaction coordinator.  
Protected MethodPrepareSharedConnection Prepares the given connection, which is about to be registered as the shared connection for this container. (Inherited from AbstractRabbitListeningContainer)
Protected MethodRollbackIfNecessary Perform a rollback, if appropriate.  
Protected MethodRollbackOnExceptionIfNecessary Perform a rollback, handling rollback excepitons properly.  
Protected MethodRunningAllowed Check whether this container's listeners are generally allowed to run. This implementation always returns true; the default 'running' state is purely determined by AbstractRabbitListeningContainer.Start / AbstractRabbitListeningContainer.Stop. (Inherited from AbstractRabbitListeningContainer)
Protected MethodStopSharedConnection Stops the shared connection. (Inherited from AbstractRabbitListeningContainer)
Protected MethodValidateConfiguration Validates the configuration of this container (Inherited from AbstractRabbitListeningContainer)
Top

See Also

© 2010 All Rights Reserved.