Java org.springframework.jms.listener AbstractMessageListenerContainer fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jms.listener AbstractMessageListenerContainer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jms.listener AbstractMessageListenerContainer.

The text is from its open source code.

Subclass

org.springframework.jms.listener.AbstractMessageListenerContainer has subclasses.
Click this link to see all its subclasses.

Method

voidafterPropertiesSet()
Delegates to #validateConfiguration() and #initialize() .
ObjectgetMessageListener()
Return the message listener object to register.
booleanisActive()
Return whether this container is currently active, that is, whether it has been set up but not shut down yet.
booleanisPubSubDomain()
Return whether the Publish/Subscribe domain ( javax.jms.Topic Topics ) is used.
voidsetAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)
Set whether to accept received messages while the listener container in the process of stopping.
voidsetAutoStartup(boolean autoStartup)
Set whether to automatically start the container after initialization.
voidsetClientId(@Nullable String clientId)
Specify the JMS client ID for a shared Connection created and used by this container.
voidsetConcurrency(String concurrency)
Specify concurrency limits.
voidsetConnectionFactory(@Nullable ConnectionFactory connectionFactory)
Set the ConnectionFactory to use for obtaining JMS Connection Connections .
voidsetDestination(@Nullable Destination destination)
Set the destination to receive messages from.
voidsetDestinationName(@Nullable String destinationName)
Set the name of the destination to receive messages from.
voidsetDestinationResolver(DestinationResolver destinationResolver)
Set the DestinationResolver that is to be used to resolve javax.jms.Destination references for this accessor.
voidsetDurableSubscriptionName(@Nullable String durableSubscriptionName)
Set the name of a durable subscription to create.
voidsetExceptionListener(@Nullable ExceptionListener exceptionListener)
Set the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure.
voidsetExposeListenerSession(boolean exposeListenerSession)
Set whether to expose the listener JMS Session to a registered SessionAwareMessageListener as well as to org.springframework.jms.core.JmsTemplate calls.
voidsetMessageListener(@Nullable Object messageListener)
Set the message listener implementation to register.
voidsetMessageSelector(@Nullable String messageSelector)
Set the JMS message selector expression (or null if none).
voidsetPubSubDomain(boolean pubSubDomain)
Configure the destination accessor with knowledge of the JMS domain used.
voidsetPubSubNoLocal(boolean pubSubNoLocal)
Set whether to inhibit the delivery of messages published by its own connection.
voidsetSessionAcknowledgeMode(int sessionAcknowledgeMode)
Set the JMS acknowledgement mode that is used when creating a JMS Session to send a message.
voidsetSessionAcknowledgeModeName(String constantName)
Set the JMS acknowledgement mode by the name of the corresponding constant in the JMS Session interface, e.g.
voidsetSessionTransacted(boolean sessionTransacted)
Set the transaction mode that is used when creating a JMS Session .
voidsetSubscriptionDurable(boolean subscriptionDurable)
Set whether to make the subscription durable.
voidsetSubscriptionName(@Nullable String subscriptionName)
Set the name of a subscription to create.
voidsetSubscriptionShared(boolean subscriptionShared)
Set whether to make the subscription shared.
voidstart()
Start this container.