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


The following tables list the members exposed by SimpleMessageListenerContainer.

Public Constructors

Protected Fields

Public Properties

 NameDescription
Public PropertyAutoAck (Inherited from AbstractMessageListenerContainer)
Public PropertyBlockingQueueConsumerCapacity  
Public PropertyChannelTransacted (Inherited from Spring.Messaging.Amqp.Rabbit.Core.RabbitAccessor)
Public PropertyConcurrentConsumers Sets the number of concurrent consumers to create. Default is 1.  
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. (Inherited from AbstractMessageListenerContainer)
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 (Inherited from AbstractMessageListenerContainer)
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. (Inherited from AbstractMessageListenerContainer)
Public PropertyObjectName Set the name of the object in the object factory that created this object. (Inherited from AbstractRabbitListeningContainer)
Public PropertyPrefetchCount  
Public PropertyQueue Gets or sets the name of the queue to receive messages from (Inherited from AbstractMessageListenerContainer)
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)
Public PropertyTaskExector  
Top

Protected Properties

 NameDescription
Protected PropertySharedConnection (Inherited from AbstractRabbitListeningContainer)
Protected PropertySharedConnectionEnabledOverridden.   
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 MethodProcessMessage  
Public MethodRequiredQueueName (Inherited from AbstractMessageListenerContainer)
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. (Inherited from AbstractMessageListenerContainer)
Protected MethodCommitIfNecessary Perform a commit or message acknowledgement, as appropriate (Inherited from AbstractMessageListenerContainer)
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). (Inherited from AbstractMessageListenerContainer)
Protected MethodDoInitializeOverridden.  Creates the specified number of concurrent consumers, in the from of a Rabbit Channel plus associated MessageConsumer process.  
Protected MethodDoInvokeListenerOverloaded.  Invoke the specified listener as Spring SessionAwareMessageListener, exposing a new Rabbit Channel (potentially with its own transaction) to the listener if demanded. (Inherited from AbstractMessageListenerContainer)
Protected MethodDoShutdownOverridden.   
Protected MethodDoStartOverridden.   
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). (Inherited from AbstractMessageListenerContainer)
Protected MethodHandleListenerException Handle the given exception that arose during listener execution. (Inherited from AbstractMessageListenerContainer)
Protected MethodInvokeErrorHandler Invokes the error handler. (Inherited from AbstractMessageListenerContainer)
Protected MethodInvokeListener Invokes the specified listener: either as standard NMS MessageListener or (preferably) as Spring SessionAwareMessageListener. (Inherited from AbstractMessageListenerContainer)
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. (Inherited from AbstractMessageListenerContainer)
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. (Inherited from AbstractMessageListenerContainer)
Protected MethodRollbackOnExceptionIfNecessary Perform a rollback, handling rollback excepitons properly. (Inherited from AbstractMessageListenerContainer)
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.