Spring.Messaging.Nms
SimpleMessageListenerContainer Class Properties
See Also  Send comments on this topic.
Spring.Messaging.Nms.Listener Namespace : SimpleMessageListenerContainer Class


For a list of all members of this type, see SimpleMessageListenerContainer members.

Public Properties

  Name Description
Public Property AcceptMessagesWhileStopping Gets or sets a value indicating whether to accept messages while the listener container is in the process of stopping. (Inherited from AbstractMessageListenerContainer)
Public Property Active 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 AbstractListenerContainer)
Public Property AutoStartup Set whether to automatically start the listener after initialization.

Default is "true"; set this to "false" to allow for manual startup.

(Inherited from AbstractListenerContainer)
Public Property ClientId Gets or sets the client id for a shared Connection created and used by this container. (Inherited from AbstractListenerContainer)
Public Property ConcurrentConsumers Specify the number of concurrent consumers to create. Default is 1.  
Public Property ConnectionFactory Gets or sets the connection factory to use for obtaining NMS Connections. (Inherited from Spring.Messaging.Nms.Support.NmsAccessor)
Public Property Destination Gets or sets the destination to receive messages from. Will be
null
if the configured destination is not an actual Destination type; c.f. DestinationName when the destination is a String. (Inherited from AbstractMessageListenerContainer)
Public Property DestinationName Gets or sets the name of the destination to receive messages from. Will be
null
if the configured destination is not a string type; c.f. Destination when it is an actual Destination object. (Inherited from AbstractMessageListenerContainer)
Public Property DestinationResolver Gets or sets the destination resolver that is to be used to resolve IDestination references for this accessor. (Inherited from Spring.Messaging.Nms.Support.Destinations.NmsDestinationAccessor)
Public Property DurableSubscriptionName Gets or sets the name of the durable subscription to create. (Inherited from AbstractMessageListenerContainer)
Public Property ErrorHandler 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 Property ExceptionListener Gets or sets the exception listener to notify in case of a NMSException thrown by the registered message listener or the invocation infrastructure. (Inherited from AbstractMessageListenerContainer)
Public Property ExposeListenerSession Gets or sets a value indicating whether to expose listener session to a registered ISessionAwareMessageListener as well as to Spring.Messaging.Nms.Core.NmsTemplate calls. (Inherited from AbstractMessageListenerContainer)
Public Property IsRunning Gets a value indicating whether this container is currently running, that is, whether it has been started and not stopped yet. (Inherited from AbstractListenerContainer)
Public Property MaxRecoveryTime Sets the max recovery time to try reconnection attempts. The default is 10 minutes.  
Public Property MessageListener Gets or sets the message listener to register. (Inherited from AbstractMessageListenerContainer)
Public Property MessageSelector Gets or sets the message selector. (Inherited from AbstractMessageListenerContainer)
Public Property ObjectName Set the name of the object in the object factory that created this object. (Inherited from AbstractListenerContainer)
Public Property PubSubDomain Gets or sets a value indicating whether Publish/Subscribe domain (Topics) is used. Otherwise, the Point-to-Point domain (Queues) is used. (Inherited from Spring.Messaging.Nms.Support.Destinations.NmsDestinationAccessor)
Public Property PubSubNoLocal Gets or sets a value indicating whether to inhibit the delivery of messages published by its own connection. Default is "false".  
Public Property RecoveryInterval Sets the time interval between connection recovery attempts. The default is 5 seconds.  
Public Property SessionAcknowledgeMode Gets or sets the session acknowledge mode for NMS Sessions including whether or not the session is transacted (Inherited from Spring.Messaging.Nms.Support.NmsAccessor)
Public Property SessionTransacted Set the transaction mode that is used when creating a NMS Session. Default is "false". (Inherited from Spring.Messaging.Nms.Support.NmsAccessor)
Public Property SubscriptionDurable Gets or sets a value indicating whether the subscription is durable. (Inherited from AbstractMessageListenerContainer)
Top

Protected Properties

  Name Description
Protected Property RunningAllowed Gets a value indicating whether this container's listeners are generally allowed to run. (Inherited from AbstractListenerContainer)
Protected Property SharedConnection Gets the shared connection maintained by this container. Available after initialization. (Inherited from AbstractListenerContainer)
Protected Property SharedConnectionEnabled Overridden.  Always use a shared NMS connection  
Top

See Also

© 2011 All Rights Reserved.