Example usage for Java org.springframework.jms.listener AbstractMessageListenerContainer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() Delegates to #validateConfiguration() and #initialize() . |
Object | getMessageListener() Return the message listener object to register. |
boolean | isActive() Return whether this container is currently active, that is, whether it has been set up but not shut down yet. |
boolean | isPubSubDomain() Return whether the Publish/Subscribe domain ( javax.jms.Topic Topics ) is used. |
void | setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping) Set whether to accept received messages while the listener container in the process of stopping. |
void | setAutoStartup(boolean autoStartup) Set whether to automatically start the container after initialization. |
void | setClientId(@Nullable String clientId) Specify the JMS client ID for a shared Connection created and used by this container. |
void | setConcurrency(String concurrency) Specify concurrency limits. |
void | setConnectionFactory(@Nullable ConnectionFactory connectionFactory) Set the ConnectionFactory to use for obtaining JMS Connection Connections . |
void | setDestination(@Nullable Destination destination) Set the destination to receive messages from. |
void | setDestinationName(@Nullable String destinationName) Set the name of the destination to receive messages from. |
void | setDestinationResolver(DestinationResolver destinationResolver) Set the DestinationResolver that is to be used to resolve javax.jms.Destination references for this accessor. |
void | setDurableSubscriptionName(@Nullable String durableSubscriptionName) Set the name of a durable subscription to create. |
void | setExceptionListener(@Nullable ExceptionListener exceptionListener) Set the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure. |
void | setExposeListenerSession(boolean exposeListenerSession) Set whether to expose the listener JMS Session to a registered SessionAwareMessageListener as well as to org.springframework.jms.core.JmsTemplate calls. |
void | setMessageListener(@Nullable Object messageListener) Set the message listener implementation to register. |
void | setMessageSelector(@Nullable String messageSelector) Set the JMS message selector expression (or null if none). |
void | setPubSubDomain(boolean pubSubDomain) Configure the destination accessor with knowledge of the JMS domain used. |
void | setPubSubNoLocal(boolean pubSubNoLocal) Set whether to inhibit the delivery of messages published by its own connection. |
void | setSessionAcknowledgeMode(int sessionAcknowledgeMode) Set the JMS acknowledgement mode that is used when creating a JMS Session to send a message. |
void | setSessionAcknowledgeModeName(String constantName) Set the JMS acknowledgement mode by the name of the corresponding constant in the JMS Session interface, e.g. |
void | setSessionTransacted(boolean sessionTransacted) Set the transaction mode that is used when creating a JMS Session . |
void | setSubscriptionDurable(boolean subscriptionDurable) Set whether to make the subscription durable. |
void | setSubscriptionName(@Nullable String subscriptionName) Set the name of a subscription to create. |
void | setSubscriptionShared(boolean subscriptionShared) Set whether to make the subscription shared. |
void | start() Start this container. |