Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAdaptableMessageListener - Class in org.springframework.jms.listener.adapter
-
An abstract JMS
MessageListener
adapter providing the necessary infrastructure to extract the payload of a JMSMessage
. - AbstractAdaptableMessageListener() - Constructor for class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
- AbstractJmsListenerContainerFactory<C extends AbstractMessageListenerContainer> - Class in org.springframework.jms.config
-
Base
JmsListenerContainerFactory
for Spring's base container implementation. - AbstractJmsListenerContainerFactory() - Constructor for class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- AbstractJmsListenerEndpoint - Class in org.springframework.jms.config
-
Base model for a JMS listener endpoint.
- AbstractJmsListenerEndpoint() - Constructor for class org.springframework.jms.config.AbstractJmsListenerEndpoint
- AbstractJmsListeningContainer - Class in org.springframework.jms.listener
-
Common base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).
- AbstractJmsListeningContainer() - Constructor for class org.springframework.jms.listener.AbstractJmsListeningContainer
- AbstractJmsListeningContainer.SharedConnectionNotInitializedException - Exception in org.springframework.jms.listener
-
Exception that indicates that the initial setup of this container's shared JMS Connection failed.
- AbstractMessageListenerContainer - Class in org.springframework.jms.listener
-
Abstract base class for Spring message listener container implementations.
- AbstractMessageListenerContainer() - Constructor for class org.springframework.jms.listener.AbstractMessageListenerContainer
- AbstractPollingMessageListenerContainer - Class in org.springframework.jms.listener
-
Base class for listener container implementations which are based on polling.
- AbstractPollingMessageListenerContainer() - Constructor for class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
- addConnection(Connection) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Add the given Connection to this resource holder.
- addDelegate(ExceptionListener) - Method in class org.springframework.jms.connection.ChainedExceptionListener
-
Add an ExceptionListener to the chained delegate list.
- addSession(Session) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Add the given Session to this resource holder.
- addSession(Session, Connection) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Add the given Session to this resource holder, registered for a specific Connection.
- afterPropertiesSet() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
- afterPropertiesSet() - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- afterPropertiesSet() - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Make sure the ConnectionFactory has been set.
- afterPropertiesSet() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Make sure a Connection or ConnectionFactory has been set.
- afterPropertiesSet() - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
- afterPropertiesSet() - Method in class org.springframework.jms.core.JmsMessagingTemplate
- afterPropertiesSet() - Method in class org.springframework.jms.core.support.JmsGatewaySupport
- afterPropertiesSet() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
- afterPropertiesSet() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- afterPropertiesSet() - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
- afterPropertiesSet() - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
- afterPropertiesSet() - Method in class org.springframework.jms.support.JmsAccessor
- afterSingletonsInstantiated() - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- applyAcknowledgeMode(BeanWrapper, int) - Method in class org.springframework.jms.listener.endpoint.DefaultJmsActivationSpecFactory
-
This implementation maps
SESSION_TRANSACTED
onto an ActivationSpec property named "useRAManagedTransaction", if available (following ActiveMQ's naming conventions). - applyAcknowledgeMode(BeanWrapper, int) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Apply the specified acknowledge mode to the ActivationSpec object.
- applyBackOffTime(BackOffExecution) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Apply the next back-off time using the specified
BackOffExecution
.
B
- BeanFactoryDestinationResolver - Class in org.springframework.jms.support.destination
-
DestinationResolver
implementation based on a SpringBeanFactory
. - BeanFactoryDestinationResolver() - Constructor for class org.springframework.jms.support.destination.BeanFactoryDestinationResolver
-
Create a new instance of the
BeanFactoryDestinationResolver
class. - BeanFactoryDestinationResolver(BeanFactory) - Constructor for class org.springframework.jms.support.destination.BeanFactoryDestinationResolver
-
Create a new instance of the
BeanFactoryDestinationResolver
class. - browse(Queue, BrowserCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Browse messages in a JMS queue.
- browse(Queue, BrowserCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- browse(String, BrowserCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Browse messages in a JMS queue.
- browse(String, BrowserCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- browse(BrowserCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Browse messages in the default JMS queue.
- browse(BrowserCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- BrowserCallback<T> - Interface in org.springframework.jms.core
-
Callback for browsing the messages in a JMS queue.
- browseSelected(Queue, String, BrowserCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Browse selected messages in a JMS queue.
- browseSelected(Queue, String, BrowserCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- browseSelected(String, String, BrowserCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Browse selected messages in a JMS queue.
- browseSelected(String, String, BrowserCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- browseSelected(String, BrowserCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Browse selected messages in a JMS queue.
- browseSelected(String, BrowserCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- buildExceptionMessage(JMSException) - Static method in class org.springframework.jms.support.JmsUtils
-
Build a descriptive exception message for the given JMSException, incorporating a linked exception's message if appropriate.
- buildListenerArguments(Object) - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Build an array of arguments to be passed into the target listener method.
- buildMessage(Session, Object) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Build a JMS message to be sent as response based on the given result object.
- BYTES - Enum constant in enum class org.springframework.jms.support.converter.MessageType
-
A
BytesMessage
.
C
- CACHE_AUTO - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Constant that indicates automatic choice of an appropriate caching level (depending on the transaction management strategy).
- CACHE_CONNECTION - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Constant that indicates to cache a shared JMS
Connection
for each listener thread. - CACHE_CONSUMER - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Constant that indicates to cache a shared JMS
Connection
, a JMSSession
, and a JMS MessageConsumer for each listener thread. - CACHE_NONE - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Constant that indicates to cache no JMS resources at all.
- CACHE_SESSION - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Constant that indicates to cache a shared JMS
Connection
and a JMSSession
for each listener thread. - CachingConnectionFactory - Class in org.springframework.jms.connection
-
SingleConnectionFactory
subclass that addsSession
caching as well asMessageProducer
andMessageConsumer
caching. - CachingConnectionFactory() - Constructor for class org.springframework.jms.connection.CachingConnectionFactory
-
Create a new CachingConnectionFactory for bean-style usage.
- CachingConnectionFactory(ConnectionFactory) - Constructor for class org.springframework.jms.connection.CachingConnectionFactory
-
Create a new CachingConnectionFactory for the given target ConnectionFactory.
- CachingDestinationResolver - Interface in org.springframework.jms.support.destination
-
Extension of the DestinationResolver interface, exposing methods for clearing the cache.
- ChainedExceptionListener - Class in org.springframework.jms.connection
-
Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order.
- ChainedExceptionListener() - Constructor for class org.springframework.jms.connection.ChainedExceptionListener
- checkMessageListener(Object) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Check the given message listener, throwing an exception if it does not correspond to a supported listener type.
- clearCache() - Method in interface org.springframework.jms.support.destination.CachingDestinationResolver
-
Clear the entire destination cache.
- clearCache() - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
- closeAll() - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Close all of this resource holder's Sessions and clear its state.
- closeConnection(Connection) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Close the given Connection.
- closeConnection(Connection) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS Connection and ignore any thrown exception.
- closeConnection(Connection, boolean) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS Connection and ignore any thrown exception.
- closeMessageConsumer(MessageConsumer) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS MessageConsumer and ignore any thrown exception.
- closeMessageProducer(MessageProducer) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS MessageProducer and ignore any thrown exception.
- closeQueueBrowser(QueueBrowser) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS QueueBrowser and ignore any thrown exception.
- closeQueueRequestor(QueueRequestor) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS QueueRequestor and ignore any thrown exception.
- closeSession(Session) - Static method in class org.springframework.jms.support.JmsUtils
-
Close the given JMS Session and ignore any thrown exception.
- commitAll() - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Commit all of this resource holder's Sessions.
- commitIfNecessary(Session) - Static method in class org.springframework.jms.support.JmsUtils
-
Commit the Session if not within a JTA transaction.
- commitIfNecessary(Session, Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Perform a commit or message acknowledgement, as appropriate.
- concurrency() - Element in annotation interface org.springframework.jms.annotation.JmsListener
-
The concurrency limits for the listener, if any.
- configureJmsListeners(JmsListenerEndpointRegistrar) - Method in interface org.springframework.jms.annotation.JmsListenerConfigurer
-
Callback allowing a
JmsListenerEndpointRegistry
and specificJmsListenerEndpoint
instances to be registered against the givenJmsListenerEndpointRegistrar
. - ConnectionFactoryUtils - Class in org.springframework.jms.connection
-
Helper class for managing a JMS
ConnectionFactory
, in particular for obtaining transactional JMS resources for a given ConnectionFactory. - ConnectionFactoryUtils() - Constructor for class org.springframework.jms.connection.ConnectionFactoryUtils
- ConnectionFactoryUtils.ResourceFactory - Interface in org.springframework.jms.connection
-
Callback interface for resource creation.
- containerFactory() - Element in annotation interface org.springframework.jms.annotation.JmsListener
-
The bean name of the
JmsListenerContainerFactory
to use to create the message listener container responsible for serving this endpoint. - containsSession(Session) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Determine whether the given Session is registered with this resource holder.
- CONTENT_TYPE_PROPERTY - Static variable in interface org.springframework.jms.support.JmsHeaderMapper
-
The JMS-compliant
content_type
property. - convertAndSend(Destination, Object) - Method in interface org.springframework.jms.core.JmsOperations
-
Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.
- convertAndSend(Destination, Object) - Method in class org.springframework.jms.core.JmsTemplate
- convertAndSend(Destination, Object, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsOperations
-
Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.
- convertAndSend(Destination, Object, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsTemplate
- convertAndSend(Object) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertAndSend(Object) - Method in interface org.springframework.jms.core.JmsOperations
-
Send the given object to the default destination, converting the object to a JMS message with a configured MessageConverter.
- convertAndSend(Object) - Method in class org.springframework.jms.core.JmsTemplate
- convertAndSend(Object, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsOperations
-
Send the given object to the default destination, converting the object to a JMS message with a configured MessageConverter.
- convertAndSend(Object, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsTemplate
- convertAndSend(Object, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertAndSend(String, Object) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given Object to serialized form, possibly using a
MessageConverter
, wrap it as a message and send it to the given destination. - convertAndSend(String, Object) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertAndSend(String, Object) - Method in interface org.springframework.jms.core.JmsOperations
-
Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.
- convertAndSend(String, Object) - Method in class org.springframework.jms.core.JmsTemplate
- convertAndSend(String, Object, Map<String, Object>) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given Object to serialized form, possibly using a
MessageConverter
, wrap it as a message with the given headers and send it to the given destination. - convertAndSend(String, Object, Map<String, Object>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertAndSend(String, Object, Map<String, Object>, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given Object to serialized form, possibly using a
MessageConverter
, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination. - convertAndSend(String, Object, Map<String, Object>, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertAndSend(String, Object, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsOperations
-
Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.
- convertAndSend(String, Object, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsTemplate
- convertAndSend(String, Object, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given Object to serialized form, possibly using a
MessageConverter
, wrap it as a message, apply the given post processor, and send the resulting message to the given destination. - convertAndSend(String, Object, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertFromBytesMessage(BytesMessage, JavaType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Convert a BytesMessage to a Java Object with the specified type.
- convertFromMessage(Message, JavaType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Template method that allows for custom message mapping.
- convertFromTextMessage(TextMessage, JavaType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Convert a TextMessage to a Java Object with the specified type.
- convertJmsAccessException(JMSException) - Method in class org.springframework.jms.support.JmsAccessor
-
Convert the specified checked
JMSException
to a Spring runtimeJmsException
equivalent. - convertJmsAccessException(JMSException) - Static method in class org.springframework.jms.support.JmsUtils
-
Convert the specified checked
JMSException
to a Spring runtimeJmsException
equivalent. - convertJmsException(JmsException) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertJmsMessage(Message) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertSendAndReceive(Object, Class<T>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertSendAndReceive(Object, Class<T>, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertSendAndReceive(String, Object, Class<T>) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given request Object to serialized form, possibly using a
MessageConverter
, send it as aMessage
to the given destination, receive the reply and convert its body of the specified target class. - convertSendAndReceive(String, Object, Class<T>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertSendAndReceive(String, Object, Class<T>, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given request Object to serialized form, possibly using a
MessageConverter
, apply the given post processor and send the resultingMessage
to the given destination, receive the reply and convert its body of the given target class. - convertSendAndReceive(String, Object, Class<T>, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertSendAndReceive(String, Object, Map<String, Object>, Class<T>) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given request Object to serialized form, possibly using a
MessageConverter
, send it as aMessage
with the given headers, to the specified destination, receive the reply and convert its body of the specified target class. - convertSendAndReceive(String, Object, Map<String, Object>, Class<T>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- convertSendAndReceive(String, Object, Map<String, Object>, Class<T>, MessagePostProcessor) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Convert the given request Object to serialized form, possibly using a
MessageConverter
, wrap it as a message with the given headers, apply the given post processor and send the resultingMessage
to the specified destination, receive the reply and convert its body of the given target class. - convertSendAndReceive(String, Object, Map<String, Object>, Class<T>, MessagePostProcessor) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- CORRELATION_ID - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Correlation ID for the message.
- createActivationSpec(ResourceAdapter, JmsActivationSpecConfig) - Method in interface org.springframework.jms.listener.endpoint.JmsActivationSpecFactory
-
Create a JCA 1.5 ActivationSpec object based on the given
JmsActivationSpecConfig
object. - createActivationSpec(ResourceAdapter, JmsActivationSpecConfig) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
- createBrowser(Session, Queue, String) - Method in class org.springframework.jms.core.JmsTemplate
-
Create a JMS MessageProducer for the given Session and Destination, configuring it to disable message ids and/or timestamps (if necessary).
- createConnection() - Method in interface org.springframework.jms.connection.ConnectionFactoryUtils.ResourceFactory
-
Create a new JMS Connection for registration with a JmsResourceHolder.
- createConnection() - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createConnection() - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Create a JMS Connection via this template's ConnectionFactory.
- createConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createConnection() - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createConnection() - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Determine whether there are currently thread-bound credentials, using them if available, falling back to the statically specified username and password (i.e.
- createConnection() - Method in class org.springframework.jms.support.JmsAccessor
-
Create a JMS Connection via this template's ConnectionFactory.
- createConnection(String, String) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createConnection(String, String) - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createConnection(String, String) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createConnection(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Delegate the call straight to the target ConnectionFactory.
- createConsumer(Session, Destination) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Create a JMS MessageConsumer for the given Session and Destination.
- createConsumer(Session, Destination, String) - Method in class org.springframework.jms.core.JmsTemplate
-
Create a JMS MessageConsumer for the given Session and Destination.
- createContainerInstance() - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
-
Create an empty container instance.
- createContainerInstance() - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
-
Create an empty container instance.
- createContainerInstance() - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- createContainerInstance() - Method in class org.springframework.jms.config.SimpleJmsListenerContainerFactory
- createContext() - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createContext() - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createContext() - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createContext() - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
- createContext(int) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createContext(int) - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createContext(int) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createContext(int) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
- createContext(String, String) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createContext(String, String) - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createContext(String, String) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createContext(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
- createContext(String, String, int) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createContext(String, String, int) - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createContext(String, String, int) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createContext(String, String, int) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
- createDefaultTaskExecutor() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Create a default TaskExecutor.
- createEndpointInternal() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointFactory
-
Creates a concrete JMS message endpoint, internal to this factory.
- createJmsTemplate(ConnectionFactory) - Method in class org.springframework.jms.core.support.JmsGatewaySupport
-
Create a JmsTemplate for the given ConnectionFactory.
- createListenerConsumer(Session) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Create a MessageConsumer for the given JMS Session, registering a MessageListener for the specified listener.
- createListenerConsumer(Session) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Create a MessageConsumer for the given JMS Session, registering a MessageListener for the specified listener.
- createListenerContainer(JmsListenerEndpoint) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- createListenerContainer(JmsListenerEndpoint) - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- createListenerContainer(JmsListenerEndpoint) - Method in interface org.springframework.jms.config.JmsListenerContainerFactory
-
Create a
MessageListenerContainer
for the givenJmsListenerEndpoint
. - createListenerContainer(JmsListenerEndpoint, JmsListenerContainerFactory<?>) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
-
Create and start a new container using the specified factory.
- createMessage(Session) - Method in interface org.springframework.jms.core.MessageCreator
-
Create a
Message
to be sent. - createMessageForByteArray(byte[], Session) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Create a JMS BytesMessage for the given byte array.
- createMessageForMap(Map<?, ?>, Session) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Create a JMS MapMessage for the given Map.
- createMessageForPayload(Object, Session, Object) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create a JMS message for the specified payload and conversionHint.
- createMessageForSerializable(Serializable, Session) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Create a JMS ObjectMessage for the given Serializable object.
- createMessageForString(String, Session) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Create a JMS TextMessage for the given String.
- createMessageListener(MessageListenerContainer) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Create a
MessageListener
that is able to serve this endpoint for the specified container. - createMessageListener(MessageListenerContainer) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
- createMessageListener(MessageListenerContainer) - Method in class org.springframework.jms.config.SimpleJmsListenerEndpoint
- createMessageListenerInstance() - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Create an empty
MessagingMessageListenerAdapter
instance. - createMethodJmsListenerEndpoint() - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
-
Instantiate an empty
MethodJmsListenerEndpoint
for further configuration with provided parameters inJmsListenerAnnotationBeanPostProcessor.processJmsListener(org.springframework.jms.annotation.JmsListener, java.lang.reflect.Method, java.lang.Object)
. - createObservation(Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
- createProducer(Session, Destination) - Method in class org.springframework.jms.core.JmsTemplate
-
Create a JMS MessageProducer for the given Session and Destination, configuring it to disable message ids and/or timestamps (if necessary).
- createQueueConnection() - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createQueueConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createQueueConnection() - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createQueueConnection() - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Determine whether there are currently thread-bound credentials, using them if available, falling back to the statically specified username and password (i.e.
- createQueueConnection(String, String) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createQueueConnection(String, String) - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createQueueConnection(String, String) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createQueueConnection(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Delegate the call straight to the target QueueConnectionFactory.
- createSession(Connection) - Method in interface org.springframework.jms.connection.ConnectionFactoryUtils.ResourceFactory
-
Create a new JMS Session for registration with a JmsResourceHolder.
- createSession(Connection) - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Create a JMS Session for the given Connection.
- createSession(Connection) - Method in class org.springframework.jms.support.JmsAccessor
-
Create a JMS Session for the given Connection.
- createSession(Connection, Integer) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Create a default Session for this ConnectionFactory, adapting to JMS 1.0.2 style queue/topic mode if necessary.
- createSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Create a shared Connection for this container.
- createTopicConnection() - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createTopicConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createTopicConnection() - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createTopicConnection() - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Determine whether there are currently thread-bound credentials, using them if available, falling back to the statically specified username and password (i.e.
- createTopicConnection(String, String) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- createTopicConnection(String, String) - Method in class org.springframework.jms.connection.SingleConnectionFactory
- createTopicConnection(String, String) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
- createTopicConnection(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Delegate the call straight to the target TopicConnectionFactory.
D
- DEFAULT_ENCODING - Static variable in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
The default encoding used for writing to text messages: UTF-8.
- DEFAULT_RECEIVE_TIMEOUT - Static variable in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
The default receive timeout: 1000 ms = 1 second.
- DEFAULT_RECOVERY_INTERVAL - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
The default recovery interval: 5000 ms = 5 seconds.
- DEFAULT_THREAD_NAME_PREFIX - Static variable in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Default thread name prefix: "DefaultMessageListenerContainer-".
- DefaultJcaListenerContainerFactory - Class in org.springframework.jms.config
-
A
JmsListenerContainerFactory
implementation to build a JCA-basedJmsMessageEndpointManager
. - DefaultJcaListenerContainerFactory() - Constructor for class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- DefaultJmsActivationSpecFactory - Class in org.springframework.jms.listener.endpoint
-
Default implementation of the
JmsActivationSpecFactory
interface. - DefaultJmsActivationSpecFactory() - Constructor for class org.springframework.jms.listener.endpoint.DefaultJmsActivationSpecFactory
- DefaultJmsListenerContainerFactory - Class in org.springframework.jms.config
-
A
JmsListenerContainerFactory
implementation to build a regularDefaultMessageListenerContainer
. - DefaultJmsListenerContainerFactory() - Constructor for class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- defaultJmsListenerEndpointRegistry() - Method in class org.springframework.jms.annotation.JmsBootstrapConfiguration
- DefaultMessageListenerContainer - Class in org.springframework.jms.listener
-
Message listener container variant that uses plain JMS client APIs, specifically a loop of
MessageConsumer.receive()
calls that also allow for transactional reception of messages (registering them with XA transactions). - DefaultMessageListenerContainer() - Constructor for class org.springframework.jms.listener.DefaultMessageListenerContainer
- DelegatingConnectionFactory - Class in org.springframework.jms.connection
-
ConnectionFactory
implementation that delegates all calls to a given targetConnectionFactory
, adapting specificcreate(Queue/Topic)Connection
calls to the target ConnectionFactory if necessary (e.g. - DelegatingConnectionFactory() - Constructor for class org.springframework.jms.connection.DelegatingConnectionFactory
- DELIVERY_MODE - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Distribution mode.
- destination() - Element in annotation interface org.springframework.jms.annotation.JmsListener
-
The destination name for this listener, resolved through the container-wide
DestinationResolver
strategy. - DESTINATION - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Name of the destination (topic or queue) of the message.
- DestinationResolutionException - Exception in org.springframework.jms.support.destination
-
Thrown by a DestinationResolver when it cannot resolve a destination name.
- DestinationResolutionException(String) - Constructor for exception org.springframework.jms.support.destination.DestinationResolutionException
-
Create a new DestinationResolutionException.
- DestinationResolutionException(String, Throwable) - Constructor for exception org.springframework.jms.support.destination.DestinationResolutionException
-
Create a new DestinationResolutionException.
- DestinationResolver - Interface in org.springframework.jms.support.destination
-
Strategy interface for resolving JMS destinations.
- destroy() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- destroy() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Close the underlying shared connection.
- destroy() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Calls
AbstractJmsListeningContainer.shutdown()
when the BeanFactory destroys the container instance. - determineActivationSpecClass(ResourceAdapter) - Method in class org.springframework.jms.listener.endpoint.DefaultJmsActivationSpecFactory
-
This implementation guesses the ActivationSpec class name from the provider's class name: e.g.
- determineActivationSpecClass(ResourceAdapter) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Determine the ActivationSpec class for the given ResourceAdapter, if possible.
- doBegin(Object, TransactionDefinition) - Method in class org.springframework.jms.connection.JmsTransactionManager
- doCleanupAfterCompletion(Object) - Method in class org.springframework.jms.connection.JmsTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class org.springframework.jms.connection.JmsTransactionManager
- doConvertFromMessage(Message) - Method in class org.springframework.jms.core.JmsTemplate
-
Extract the content from the given JMS message.
- doCreateConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Create a JMS Connection via this template's ConnectionFactory.
- doCreateConnection(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
This implementation delegates to the
createConnection(username, password)
method of the target ConnectionFactory, passing in the specified user credentials. - doCreateProducer(Session, Destination) - Method in class org.springframework.jms.core.JmsTemplate
-
Create a raw JMS MessageProducer for the given Session and Destination.
- doCreateQueueConnection(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
This implementation delegates to the
createQueueConnection(username, password)
method of the target QueueConnectionFactory, passing in the specified user credentials. - doCreateTopicConnection(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
This implementation delegates to the
createTopicConnection(username, password)
method of the target TopicConnectionFactory, passing in the specified user credentials. - doExecuteListener(Session, Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Execute the specified listener, committing or rolling back the transaction afterwards (if necessary).
- doGetTransaction() - Method in class org.springframework.jms.connection.JmsTransactionManager
- doGetTransactionalSession(ConnectionFactory, ConnectionFactoryUtils.ResourceFactory) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Obtain a JMS Session that is synchronized with the current transaction, if any.
- doGetTransactionalSession(ConnectionFactory, ConnectionFactoryUtils.ResourceFactory, boolean) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Obtain a JMS Session that is synchronized with the current transaction, if any.
- doInitialize() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Register any invokers within this container.
- doInitialize() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Creates the specified number of concurrent consumers, in the form of a JMS Session plus associated MessageConsumer running in a separate thread.
- doInitialize() - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Creates the specified number of concurrent consumers, in the form of a JMS Session plus associated MessageConsumer.
- doInJms(Session) - Method in interface org.springframework.jms.core.SessionCallback
-
Execute any number of operations against the supplied JMS
Session
, possibly returning a result. - doInJms(Session, MessageProducer) - Method in interface org.springframework.jms.core.ProducerCallback
-
Perform operations on the given
Session
andMessageProducer
. - doInJms(Session, QueueBrowser) - Method in interface org.springframework.jms.core.BrowserCallback
-
Perform operations on the given
Session
andQueueBrowser
. - doInvokeListener(MessageListener, Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Invoke the specified listener as standard JMS
MessageListener
. - doInvokeListener(SessionAwareMessageListener, Session, Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Invoke the specified listener as Spring SessionAwareMessageListener, exposing a new JMS Session (potentially with its own transaction) to the listener if demanded.
- doReceive(Destination) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- doReceive(Session, Destination, String) - Method in class org.springframework.jms.core.JmsTemplate
-
Receive a JMS message.
- doReceive(Session, MessageConsumer) - Method in class org.springframework.jms.core.JmsTemplate
-
Actually receive a JMS message.
- doReceive(String) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- doReceiveAndExecute(Object, Session, MessageConsumer, TransactionStatus) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.
- doRescheduleTask(Object) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Reschedule the given task object immediately.
- doRescheduleTask(Object) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Re-executes the given task via this listener container's TaskExecutor.
- doResume(Object, Object) - Method in class org.springframework.jms.connection.JmsTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.jms.connection.JmsTransactionManager
- doSend(Destination, Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- doSend(MessageProducer, Message) - Method in class org.springframework.jms.core.JmsTemplate
-
Actually send the given JMS message.
- doSend(Session, Destination, MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
-
Send the given JMS message.
- doSend(String, Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- doSendAndReceive(Destination, Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- doSendAndReceive(Session, Destination, MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
-
Send a request message to the given
Destination
and block until a reply has been received on a temporary queue created on-the-fly. - doSendAndReceive(String, Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.jms.connection.JmsTransactionManager
- doShutdown() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Close the registered invokers.
- doShutdown() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Destroy the registered JMS Sessions and associated MessageConsumers.
- doShutdown() - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Destroy the registered JMS Sessions and associated MessageConsumers.
- doStart() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Start the shared Connection, if any, and notify all invoker tasks.
- doStart() - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Re-initializes this container's JMS message consumers, if not initialized already.
- doStop() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Notify all invoker tasks and stop the shared Connection, if any.
- doSuspend(Object) - Method in class org.springframework.jms.connection.JmsTransactionManager
- DynamicDestinationResolver - Class in org.springframework.jms.support.destination
-
Simple
DestinationResolver
implementation resolving destination names as dynamic destinations. - DynamicDestinationResolver() - Constructor for class org.springframework.jms.support.destination.DynamicDestinationResolver
E
- EnableJms - Annotation Interface in org.springframework.jms.annotation
-
Enable JMS listener annotated endpoints that are created under the cover by a
JmsListenerContainerFactory
. - equals(Object) - Method in class org.springframework.jms.support.QosSettings
- establishSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Establish a shared Connection for this container.
- establishSharedConnection() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Overridden to accept a failure in the initial setup - leaving it up to the asynchronous invokers to establish the shared Connection on first access.
- execute(Destination, ProducerCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Send messages to a JMS destination.
- execute(Destination, ProducerCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- execute(String, ProducerCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Send messages to a JMS destination.
- execute(String, ProducerCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- execute(ProducerCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Send messages to the default JMS destination (or one specified for each send operation).
- execute(ProducerCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- execute(SessionCallback<T>) - Method in interface org.springframework.jms.core.JmsOperations
-
Execute the action specified by the given action object within a JMS Session.
- execute(SessionCallback<T>) - Method in class org.springframework.jms.core.JmsTemplate
- execute(SessionCallback<T>, boolean) - Method in class org.springframework.jms.core.JmsTemplate
-
Execute the action specified by the given action object within a JMS Session.
- executeListener(Session, Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Execute the specified listener, committing or rolling back the transaction afterwards (if necessary).
- EXPIRATION - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Message expiration date and time.
- extractByteArrayFromMessage(BytesMessage) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Extract a byte array from the given
BytesMessage
. - extractHeaders(Message) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
- extractMapFromMessage(MapMessage) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Extract a Map from the given
MapMessage
. - extractMessage(Message) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Extract the message body from the given JMS message.
- extractPayload(Message) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
-
Extract the payload of the specified
Message
. - extractSerializableFromMessage(ObjectMessage) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Extract a Serializable object from the given
ObjectMessage
. - extractStringFromMessage(TextMessage) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
Extract a String from the given TextMessage.
F
- forDestination(T, Destination) - Static method in class org.springframework.jms.listener.adapter.JmsResponse
-
Create a
JmsResponse
targeting the specifiedDestination
. - forQueue(T, String) - Static method in class org.springframework.jms.listener.adapter.JmsResponse
-
Create a
JmsResponse
targeting the queue with the specified name. - forTopic(T, String) - Static method in class org.springframework.jms.listener.adapter.JmsResponse
-
Create a
JmsResponse
targeting the topic with the specified name. - fromHeaderName(String) - Method in class org.springframework.jms.support.SimpleJmsHeaderMapper
-
Add the outbound prefix if necessary.
- fromHeaders(MessageHeaders, Message) - Method in class org.springframework.jms.support.SimpleJmsHeaderMapper
- fromMessage(Message) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- fromMessage(Message) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
This implementation unmarshals the given
Message
into an object. - fromMessage(Message) - Method in interface org.springframework.jms.support.converter.MessageConverter
-
Convert from a JMS Message to a Java object.
- fromMessage(Message) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
- fromMessage(Message) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
This implementation converts a TextMessage back to a String, a ByteMessage back to a byte array, a MapMessage back to a Map, and an ObjectMessage back to a Serializable object.
G
- getAcknowledgeMode() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Return the JMS acknowledgement mode to use.
- getActivationSpecConfig() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Return the
JmsActivationSpecConfig
object that this endpoint manager should use for activating its listener. - getActiveConsumerCount() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the number of currently active consumers.
- getBean() - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
- getBeanName() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Return the bean name that this listener container has been assigned in its containing bean factory, if any.
- getCachedSessionCount() - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Return a current session count, indicating the number of sessions currently cached by this connection factory.
- getCachedSessionProxy(Session, Deque<Session>) - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Wrap the given Session with a proxy that delegates every method call to it but adapts close calls.
- getCacheLevel() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the level of caching that this listener container is allowed to apply.
- getClientId() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Return a JMS client ID for the single Connection created and exposed by this ConnectionFactory, if any.
- getClientId() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Return the JMS client ID for the shared Connection created and used by this container, if any.
- getClientId() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- getConcurrency() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Return the concurrency for the listener, if any.
- getConcurrentConsumers() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the "concurrentConsumer" setting.
- getConnection() - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Return this resource holder's default Connection, or
null
if none. - getConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Obtain an initialized shared Connection.
- getConnection(Class<C>) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Return this resource holder's Connection of the given type, or
null
if none. - getConnection(JmsResourceHolder) - Method in interface org.springframework.jms.connection.ConnectionFactoryUtils.ResourceFactory
-
Fetch an appropriate Connection from the given JmsResourceHolder.
- getConnection(JmsResourceHolder) - Method in class org.springframework.jms.core.JmsTemplate
-
Fetch an appropriate Connection from the given JmsResourceHolder.
- getConnection(JmsResourceHolder) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Fetch an appropriate Connection from the given JmsResourceHolder.
- getConnectionFactory() - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Return the JMS ConnectionFactory that this instance should manage transactions for.
- getConnectionFactory() - Method in class org.springframework.jms.core.JmsMessagingTemplate
-
Return the ConnectionFactory that the underlying
JmsTemplate
uses. - getConnectionFactory() - Method in class org.springframework.jms.core.support.JmsGatewaySupport
-
Return the JMS ConnectionFactory used by the gateway.
- getConnectionFactory() - Method in class org.springframework.jms.support.JmsAccessor
-
Return the ConnectionFactory that this accessor uses for obtaining JMS
Connections
. - getCorrelationId() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
correlationId
. - getDefaultDestination() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the destination to be used on send/receive operations that do not have a destination parameter.
- getDefaultDestinationName() - Method in class org.springframework.jms.core.JmsMessagingTemplate
-
Return the configured default destination name.
- getDefaultDestinationName() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the destination name to be used on send/receive operations that do not have a destination parameter.
- getDefaultListenerMethod() - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Return the name of the default listener method to delegate to.
- getDefaultResponseDestination() - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Return the default response destination, if any.
- getDefaultSubscriptionName(Object) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Determine the default subscription name for the given message listener.
- getDelegate() - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Return the target object to delegate message listening to.
- getDelegates() - Method in class org.springframework.jms.connection.ChainedExceptionListener
-
Return all registered ExceptionListener delegates (as array).
- getDeliveryDelay() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the delivery delay to use for send calls (in milliseconds).
- getDeliveryMode() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the delivery mode to use when sending a message.
- getDeliveryMode() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
delivery mode
. - getDeliveryMode() - Method in class org.springframework.jms.support.QosSettings
-
Return the delivery mode to use when sending a message.
- getDestination() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Return the name of the destination for this endpoint.
- getDestination() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the destination to receive messages from.
- getDestination() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
destination
. - getDestinationDescription() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return a descriptive String for this container's JMS destination (never
null
). - getDestinationName() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the name of the destination to receive messages from.
- getDestinationName() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- getDestinationResolver() - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Return the DestinationResolver for this adapter.
- getDestinationResolver() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- getDestinationResolver() - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Return the
DestinationResolver
to use for resolving destinations names. - getDestinationResolver() - Method in interface org.springframework.jms.listener.MessageListenerContainer
-
Return the
DestinationResolver
to use to resolve destinations by names. - getDestinationResolver() - Method in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Return the DestinationResolver for this accessor (never
null
). - getDurableSubscriptionName() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the name of a durable subscription to create, if any.
- getDurableSubscriptionName() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- getEndpointDescription() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Return a description for this endpoint.
- getEndpointDescription() - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
- getEndpointDescription() - Method in class org.springframework.jms.config.SimpleJmsListenerEndpoint
- getEndpointRegistry() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Return the
JmsListenerEndpointRegistry
instance for this registrar, may benull
. - getErrorCode() - Method in exception org.springframework.jms.JmsException
-
Convenience method to get the vendor specific error code if the root cause was an instance of JMSException.
- getErrorHandler() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the
ErrorHandler
to be invoked in case of any uncaught exceptions thrown while processing aMessage
. - getExceptionListener() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Return the JMS ExceptionListener implementation that should be registered with the single Connection created by this factory, if any.
- getExceptionListener() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure, if any.
- getExpiration() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the message
expiration
. - getId() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Return the id of this endpoint (possibly generated).
- getId() - Method in interface org.springframework.jms.config.JmsListenerEndpoint
-
Return the id of this endpoint.
- getIdleConsumerLimit() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the limit for the number of idle consumers.
- getIdleReceivesPerTaskLimit() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the maximum number of subsequent null messages to receive in a single task before marking the consumer as 'idle'.
- getIdleTaskExecutionLimit() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the limit for idle executions of a consumer task.
- getJavaTypeForMessage(Message) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Determine a Jackson JavaType for the given JMS Message, typically parsing a type id message property.
- getJmsMessageConverter() - Method in class org.springframework.jms.core.JmsMessagingTemplate
- getJmsTemplate() - Method in class org.springframework.jms.core.JmsMessagingTemplate
-
Return the configured
JmsTemplate
. - getJmsTemplate() - Method in class org.springframework.jms.core.support.JmsGatewaySupport
-
Return the JmsTemplate for the gateway.
- getListenerContainer(String) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
-
Return the
MessageListenerContainer
with the specified id ornull
if no such container exists. - getListenerContainerIds() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
-
Return the ids of the managed
MessageListenerContainer
instance(s). - getListenerContainers() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
-
Return the managed
MessageListenerContainer
instance(s). - getListenerMethodName(Message, Object) - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Determine the name of the listener method that is supposed to handle the given message.
- getMaxConcurrency() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Return the maximum number of consumers/sessions to use.
- getMaxConcurrentConsumers() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the "maxConcurrentConsumer" setting.
- getMaxMessagesPerTask() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the maximum number of messages to process in one task.
- getMessage() - Method in exception org.springframework.jms.JmsException
-
Return the detail message, including the message from the linked exception if there is one.
- getMessageConverter() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the message converter for this template.
- getMessageConverter() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
- getMessageConverter() - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Return the converter that will convert incoming JMS messages to listener method arguments, and objects returned from listener methods back to JMS messages.
- getMessageConverter() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Return the
MessageConverter
to use, if any. - getMessageConverter() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- getMessageConverter() - Method in interface org.springframework.jms.listener.MessageListenerContainer
-
Return the
MessageConverter
that can be used to convertMessage
, if any. - getMessageHandlerMethodFactory() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Return the custom
MessageHandlerMethodFactory
to use, if any. - getMessageId() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
message id
. - getMessageListener() - Method in class org.springframework.jms.config.SimpleJmsListenerEndpoint
-
Return the
MessageListener
to invoke when a message matching the endpoint is received. - getMessageListener() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the message listener object to register.
- getMessageListener() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointFactory
-
Return the JMS MessageListener for this endpoint.
- getMessageListener() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Return the JMS MessageListener for this endpoint.
- getMessageSelector() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the JMS message selector expression (or
null
if none). - getMessageSelector() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- getMessagingMessageConverter() - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Return the
MessagingMessageConverter
for this listener, being able to convertMessage
. - getMethod() - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
- getMostSpecificMethod() - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
- getObservationRegistry() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the
ObservationRegistry
used for recordingJMS message processing observations
. - getOrder() - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- getPausedTaskCount() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Determine the number of currently paused tasks, if any.
- getPhase() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- getPhase() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Return the lifecycle phase in which this container will be started and stopped.
- getPrefetchSize() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Return the maximum number of messages to load into a session.
- getPriority() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the priority of a message when sending.
- getPriority() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
priority
. - getPriority() - Method in class org.springframework.jms.support.QosSettings
-
Return the priority of a message when sending.
- getReceiveTimeout() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the timeout to use for receive calls (in milliseconds).
- getReceiveTimeout() - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Return the receive timeout (ms) configured for this listener container.
- getRedelivered() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
redelivered
flag. - getReplyQosSettings() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
- getReplyQosSettings() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- getReplyQosSettings() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- getReplyQosSettings() - Method in interface org.springframework.jms.listener.MessageListenerContainer
-
Return the
QosSettings
to use when sending a reply, ornull
if the broker's defaults should be used. - getReplyTo() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
reply to
. - getRequiredDefaultDestinationName() - Method in class org.springframework.jms.core.JmsMessagingTemplate
- getResourceFactory() - Method in class org.springframework.jms.connection.JmsTransactionManager
- getResponse() - Method in class org.springframework.jms.listener.adapter.JmsResponse
-
Return the content of the response.
- getResponseDestination(Message, Message, Session) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Determine a response destination for the given message.
- getResponseQosSettings() - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Return the
QosSettings
to use when sending a response, ornull
if the defaults should be used. - getScheduledConsumerCount() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return the number of currently scheduled consumers.
- getSelector() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Return the JMS message selector expression, if any.
- getSerializationView(Object) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Determine a Jackson serialization view based on the given conversion hint.
- getSession() - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Return this resource holder's default Session, or
null
if none. - getSession(Connection, Integer) - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Checks for a cached Session for the given mode.
- getSession(Connection, Integer) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Template method for obtaining a (potentially cached) Session.
- getSession(Class<S>) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Return this resource holder's Session of the given type, or
null
if none. - getSession(Class<S>, Connection) - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Return this resource holder's Session of the given type for the given connection, or
null
if none. - getSession(JmsResourceHolder) - Method in interface org.springframework.jms.connection.ConnectionFactoryUtils.ResourceFactory
-
Fetch an appropriate Session from the given JmsResourceHolder.
- getSession(JmsResourceHolder) - Method in class org.springframework.jms.core.JmsTemplate
-
Fetch an appropriate Session from the given JmsResourceHolder.
- getSession(JmsResourceHolder) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Fetch an appropriate Session from the given JmsResourceHolder.
- getSessionAcknowledgeMode() - Method in class org.springframework.jms.support.JmsAccessor
-
Return the acknowledgement mode for JMS
sessions
. - getSessionCacheSize() - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Return the desired size for the JMS Session cache (per JMS Session type).
- getSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Return the shared JMS Connection maintained by this container.
- getSharedConnectionProxy(Connection) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Wrap the given Connection with a proxy that delegates every method call to it but suppresses close calls.
- getSubscription() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Return the name for the durable subscription, if any.
- getSubscriptionName() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return the name of a subscription to create, if any.
- getSubscriptionName() - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
- getSubscriptionName() - Method in class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
-
Generate a subscription name for this
MessageListener
adapter based on the following rules. - getSubscriptionName() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- getSubscriptionName() - Method in interface org.springframework.jms.listener.SubscriptionNameProvider
-
Determine the subscription name for this message listener object.
- getTargetConnectionFactory() - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
-
Return the target ConnectionFactory that this ConnectionFactory delegates to.
- getTargetConnectionFactory() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Return the target ConnectionFactory which will be used to lazily create a single Connection, if any.
- getTargetConnectionFactory() - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Return the target ConnectionFactory that this ConnectionFactory should delegate to.
- getTargetSession() - Method in interface org.springframework.jms.connection.SessionProxy
-
Return the target Session of this proxy.
- getTargetSession(Session) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Return the innermost target Session of the given Session.
- getTimestamp() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
timestamp
. - getTimeToLive() - Method in class org.springframework.jms.core.JmsTemplate
-
Return the time-to-live of the message when sending.
- getTimeToLive() - Method in class org.springframework.jms.support.QosSettings
-
Return the time-to-live of the message when sending.
- getTransactionalQueueSession(QueueConnectionFactory, QueueConnection, boolean) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Obtain a JMS QueueSession that is synchronized with the current transaction, if any.
- getTransactionalSession(ConnectionFactory, Connection, boolean) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Obtain a JMS Session that is synchronized with the current transaction, if any.
- getTransactionalTopicSession(TopicConnectionFactory, TopicConnection, boolean) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Obtain a JMS TopicSession that is synchronized with the current transaction, if any.
- getTransactionAwareConnectionProxy(Connection) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Wrap the given Connection with a proxy that delegates every method call to it but handles Session lookup in a transaction-aware fashion.
- getTransactionManager() - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Return the Spring PlatformTransactionManager to use for transactional wrapping of message reception plus listener execution.
- getType() - Method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Return the
type
.
H
- handleListenerException(Throwable) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Handle the given exception that arose during listener execution.
- handleListenerException(Throwable) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Handle the given exception that arose during listener execution.
- handleListenerSetupFailure(Throwable, boolean) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Handle the given exception that arose during setup of a listener.
- handleResult(Object, Message, Session) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Handle the given result object returned from the listener method, sending a response message back.
- hashCode() - Method in class org.springframework.jms.support.QosSettings
I
- id() - Element in annotation interface org.springframework.jms.annotation.JmsListener
-
The unique identifier of the container managing this endpoint.
- IllegalStateException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS IllegalStateException.
- IllegalStateException(IllegalStateException) - Constructor for exception org.springframework.jms.IllegalStateException
- init() - Method in class org.springframework.jms.config.JmsNamespaceHandler
- initConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Initialize the underlying shared Connection.
- initDefaultStrategies() - Method in class org.springframework.jms.core.JmsTemplate
-
Initialize the default implementations for the template's strategies: DynamicDestinationResolver and SimpleMessageConverter.
- initGateway() - Method in class org.springframework.jms.core.support.JmsGatewaySupport
-
Subclasses can override this for custom initialization behavior.
- initialize() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Initialize this container.
- initialize() - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
- initialize() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
- initializeConsumers() - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Initialize the JMS Sessions and MessageConsumers for this container.
- initializeContainer(C) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
-
Further initialize the specified container.
- initializeContainer(DefaultMessageListenerContainer) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- InvalidClientIDException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS InvalidClientIDException.
- InvalidClientIDException(InvalidClientIDException) - Constructor for exception org.springframework.jms.InvalidClientIDException
- InvalidDestinationException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS InvalidDestinationException.
- InvalidDestinationException(InvalidDestinationException) - Constructor for exception org.springframework.jms.InvalidDestinationException
- InvalidSelectorException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS InvalidSelectorException.
- InvalidSelectorException(InvalidSelectorException) - Constructor for exception org.springframework.jms.InvalidSelectorException
- invokeErrorHandler(Throwable) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Invoke the registered
ErrorHandler
if any. - invokeExceptionListener(JMSException) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Invoke the registered JMS ExceptionListener, if any.
- invokeListener(Session, Message) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Invoke the specified listener: either as standard JMS MessageListener or (preferably) as Spring SessionAwareMessageListener.
- invokeListenerMethod(String, Object[]) - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Invoke the specified listener method.
- isAcceptMessagesWhileStopping() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return whether to accept received messages while the listener container in the process of stopping.
- isActive() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Return whether this container is currently active, that is, whether it has been set up but not shut down yet.
- isAutoStartup() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
- isCacheConsumers() - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Return whether to cache JMS MessageConsumers per JMS Session instance.
- isCacheProducers() - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Return whether to cache JMS MessageProducers per JMS Session instance.
- isClientAcknowledge(Session) - Method in class org.springframework.jms.support.JmsAccessor
-
Determine whether the given Session is in client acknowledge mode.
- isExistingTransaction(Object) - Method in class org.springframework.jms.connection.JmsTransactionManager
- isExplicitQosEnabled() - Method in class org.springframework.jms.core.JmsTemplate
-
If "true", then the values of deliveryMode, priority, and timeToLive will be used when sending a message.
- isExposeListenerSession() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return whether to expose the listener JMS
Session
to a registeredSessionAwareMessageListener
. - isFrozen() - Method in class org.springframework.jms.connection.JmsResourceHolder
-
Return whether this resource holder is frozen, i.e.
- isMessageIdEnabled() - Method in class org.springframework.jms.core.JmsTemplate
-
Return whether message IDs are enabled.
- isMessageTimestampEnabled() - Method in class org.springframework.jms.core.JmsTemplate
-
Return whether message timestamps are enabled.
- isPubSubDomain() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- isPubSubDomain() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- isPubSubDomain() - Method in interface org.springframework.jms.listener.MessageListenerContainer
-
Return whether the Publish/Subscribe domain (
Topics
) is used. - isPubSubDomain() - Method in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Return whether the Publish/Subscribe domain (
Topics
) is used. - isPubSubNoLocal() - Method in class org.springframework.jms.core.JmsTemplate
-
Return whether to inhibit the delivery of messages published by its own connection.
- isPubSubNoLocal() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return whether to inhibit the delivery of messages published by its own connection.
- isReconnectOnException() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Return whether the single Connection should be renewed when a JMSException is reported by the underlying Connection.
- isRecovering() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return whether this listener container is currently in a recovery attempt.
- isRegisteredWithDestination() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Return whether at least one consumer has entered a fixed registration with the target destination.
- isReplyPubSubDomain() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return whether the Publish/Subscribe domain (
Topics
) is used for replies. - isReplyPubSubDomain() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- isReplyPubSubDomain() - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- isReplyPubSubDomain() - Method in interface org.springframework.jms.listener.MessageListenerContainer
-
Return whether the reply destination uses Publish/Subscribe domain (
Topics
). - isRunning() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- isRunning() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Check whether there is currently an underlying connection.
- isRunning() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Determine whether this container is currently running, that is, whether it has been started and not stopped yet.
- isSessionLocallyTransacted(Session) - Method in class org.springframework.jms.core.JmsTemplate
-
Check whether the given Session is locally transacted, that is, whether its transaction is managed by this listener container's Session handling and not by an external transaction coordinator.
- isSessionLocallyTransacted(Session) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Check whether the given Session is locally transacted, that is, whether its transaction is managed by this listener container's Session handling and not by an external transaction coordinator.
- isSessionLocallyTransacted(Session) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
This implementation checks whether the Session is externally synchronized.
- isSessionTransacted() - Method in class org.springframework.jms.support.JmsAccessor
-
Return whether the JMS
sessions
used by this accessor are supposed to be transacted. - isSessionTransactional(Session, ConnectionFactory) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Determine whether the given JMS Session is transactional, that is, bound to the current thread by Spring's transaction facilities.
- isSubscriptionDurable() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return whether to make the subscription durable.
- isSubscriptionDurable() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- isSubscriptionShared() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Return whether to make the subscription shared.
- isSubscriptionShared() - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- isSynchedLocalTransactionAllowed() - Method in interface org.springframework.jms.connection.ConnectionFactoryUtils.ResourceFactory
-
Return whether to allow for a local JMS transaction that is synchronized with a Spring-managed transaction (where the main transaction might be a JDBC-based one for a specific DataSource, for example), with the JMS transaction committing right after the main transaction.
- isSynchedLocalTransactionAllowed() - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Return whether to allow for a local JMS transaction that is synchronized with a Spring-managed transaction.
J
- JMS_LISTENER_ANNOTATION_PROCESSOR_BEAN_NAME - Static variable in class org.springframework.jms.config.JmsListenerConfigUtils
-
The bean name of the internally managed JMS listener annotation processor.
- JMS_LISTENER_ENDPOINT_REGISTRY_BEAN_NAME - Static variable in class org.springframework.jms.config.JmsListenerConfigUtils
-
The bean name of the internally managed JMS listener endpoint registry.
- JmsAccessor - Class in org.springframework.jms.support
-
Base class for
JmsTemplate
and other JMS-accessing gateway helpers, defining common properties such as the JMSConnectionFactory
to operate on. - JmsAccessor() - Constructor for class org.springframework.jms.support.JmsAccessor
- JmsActivationSpecConfig - Class in org.springframework.jms.listener.endpoint
-
Common configuration object for activating a JMS message endpoint.
- JmsActivationSpecConfig() - Constructor for class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- JmsActivationSpecFactory - Interface in org.springframework.jms.listener.endpoint
-
Strategy interface for creating JCA 1.5 ActivationSpec objects based on a configured
JmsActivationSpecConfig
object. - JmsBootstrapConfiguration - Class in org.springframework.jms.annotation
-
@Configuration
class that registers aJmsListenerAnnotationBeanPostProcessor
bean capable of processing Spring's@JmsListener
annotation. - JmsBootstrapConfiguration() - Constructor for class org.springframework.jms.annotation.JmsBootstrapConfiguration
- JmsDestinationAccessor - Class in org.springframework.jms.support.destination
-
Base class for
JmsTemplate
and other JMS-accessing gateway helpers, adding destination-related properties toJmsAccessor's
common properties. - JmsDestinationAccessor() - Constructor for class org.springframework.jms.support.destination.JmsDestinationAccessor
- JmsException - Exception in org.springframework.jms
-
Base class for exception thrown by the framework whenever it encounters a problem related to JMS.
- JmsException(String) - Constructor for exception org.springframework.jms.JmsException
-
Constructor that takes a message.
- JmsException(String, Throwable) - Constructor for exception org.springframework.jms.JmsException
-
Constructor that takes a message and a root cause.
- JmsException(Throwable) - Constructor for exception org.springframework.jms.JmsException
-
Constructor that takes a plain root cause, intended for subclasses mirroring corresponding
jakarta.jms
exceptions. - JmsGatewaySupport - Class in org.springframework.jms.core.support
-
Convenient superclass for application classes that need JMS access.
- JmsGatewaySupport() - Constructor for class org.springframework.jms.core.support.JmsGatewaySupport
- JmsHeaderMapper - Interface in org.springframework.jms.support
-
Strategy interface for mapping
Message
headers to an outbound JMSMessage
(e.g. - JmsHeaders - Interface in org.springframework.jms.support
-
Pre-defined names and prefixes to be used for setting and/or retrieving JMS attributes from/to generic message headers.
- JmsListener - Annotation Interface in org.springframework.jms.annotation
-
Annotation that marks a method to be the target of a JMS message listener on the specified
JmsListener.destination()
. - JmsListenerAnnotationBeanPostProcessor - Class in org.springframework.jms.annotation
-
Bean post-processor that registers methods annotated with
JmsListener
to be invoked by a JMS message listener container created under the cover by aJmsListenerContainerFactory
according to the attributes of the annotation. - JmsListenerAnnotationBeanPostProcessor() - Constructor for class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- jmsListenerAnnotationProcessor() - Method in class org.springframework.jms.annotation.JmsBootstrapConfiguration
- JmsListenerConfigurer - Interface in org.springframework.jms.annotation
-
Optional interface to be implemented by a Spring managed bean willing to customize how JMS listener endpoints are configured.
- JmsListenerConfigUtils - Class in org.springframework.jms.config
-
Configuration constants for internal sharing across subpackages.
- JmsListenerConfigUtils() - Constructor for class org.springframework.jms.config.JmsListenerConfigUtils
- JmsListenerContainerFactory<C extends MessageListenerContainer> - Interface in org.springframework.jms.config
-
Factory of
MessageListenerContainer
based on aJmsListenerEndpoint
definition. - JmsListenerEndpoint - Interface in org.springframework.jms.config
-
Model for a JMS listener endpoint.
- JmsListenerEndpointRegistrar - Class in org.springframework.jms.config
-
Helper bean for registering
JmsListenerEndpoint
with aJmsListenerEndpointRegistry
. - JmsListenerEndpointRegistrar() - Constructor for class org.springframework.jms.config.JmsListenerEndpointRegistrar
- JmsListenerEndpointRegistry - Class in org.springframework.jms.config
-
Creates the necessary
MessageListenerContainer
instances for the registered endpoints. - JmsListenerEndpointRegistry() - Constructor for class org.springframework.jms.config.JmsListenerEndpointRegistry
- JmsListeners - Annotation Interface in org.springframework.jms.annotation
-
Container annotation that aggregates several
JmsListener
annotations. - JmsMessageEndpointFactory - Class in org.springframework.jms.listener.endpoint
-
JMS-specific implementation of the JCA 1.7
MessageEndpointFactory
interface, providing transaction management capabilities for a JMS listener object (e.g. - JmsMessageEndpointFactory() - Constructor for class org.springframework.jms.listener.endpoint.JmsMessageEndpointFactory
- JmsMessageEndpointFactory.JmsResourceException - Exception in org.springframework.jms.listener.endpoint
-
Internal exception thrown when a ResourceException has been encountered during the endpoint invocation.
- JmsMessageEndpointManager - Class in org.springframework.jms.listener.endpoint
-
Extension of the generic JCA 1.5
GenericMessageEndpointManager
, adding JMS-specific support for ActivationSpec configuration. - JmsMessageEndpointManager() - Constructor for class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- JmsMessageHeaderAccessor - Class in org.springframework.jms.support
-
A
MessageHeaderAccessor
implementation giving access to JMS-specific headers. - JmsMessageHeaderAccessor(Map<String, List<String>>) - Constructor for class org.springframework.jms.support.JmsMessageHeaderAccessor
- JmsMessageHeaderAccessor(Message<?>) - Constructor for class org.springframework.jms.support.JmsMessageHeaderAccessor
- JmsMessageOperations - Interface in org.springframework.jms.core
-
A specialization of
MessageSendingOperations
,MessageReceivingOperations
andMessageRequestReplyOperations
for JMS related operations that allow to specify a destination name rather than the actualDestination
. - JmsMessagingTemplate - Class in org.springframework.jms.core
-
An implementation of
JmsMessageOperations
. - JmsMessagingTemplate() - Constructor for class org.springframework.jms.core.JmsMessagingTemplate
-
Constructor for use with bean properties.
- JmsMessagingTemplate(ConnectionFactory) - Constructor for class org.springframework.jms.core.JmsMessagingTemplate
-
Create a
JmsMessagingTemplate
instance with the JMSConnectionFactory
to use, implicitly building aJmsTemplate
based on it. - JmsMessagingTemplate(JmsTemplate) - Constructor for class org.springframework.jms.core.JmsMessagingTemplate
-
Create a
JmsMessagingTemplate
instance with theJmsTemplate
to use. - JmsNamespaceHandler - Class in org.springframework.jms.config
-
A
NamespaceHandler
for the JMS namespace. - JmsNamespaceHandler() - Constructor for class org.springframework.jms.config.JmsNamespaceHandler
- JmsOperations - Interface in org.springframework.jms.core
-
Specifies a basic set of JMS operations.
- JmsResourceException(ResourceException) - Constructor for exception org.springframework.jms.listener.endpoint.JmsMessageEndpointFactory.JmsResourceException
- JmsResourceHolder - Class in org.springframework.jms.connection
-
Resource holder wrapping a JMS
Connection
and a JMSSession
. - JmsResourceHolder() - Constructor for class org.springframework.jms.connection.JmsResourceHolder
-
Create a new JmsResourceHolder that is open for resources to be added.
- JmsResourceHolder(ConnectionFactory) - Constructor for class org.springframework.jms.connection.JmsResourceHolder
-
Create a new JmsResourceHolder that is open for resources to be added.
- JmsResourceHolder(ConnectionFactory, Connection, Session) - Constructor for class org.springframework.jms.connection.JmsResourceHolder
-
Create a new JmsResourceHolder for the given JMS resources.
- JmsResourceHolder(Connection, Session) - Constructor for class org.springframework.jms.connection.JmsResourceHolder
-
Create a new JmsResourceHolder for the given JMS resources.
- JmsResourceHolder(Session) - Constructor for class org.springframework.jms.connection.JmsResourceHolder
-
Create a new JmsResourceHolder for the given JMS Session.
- JmsResponse<T> - Class in org.springframework.jms.listener.adapter
-
Return type of any JMS listener method used to indicate the actual response destination alongside the response itself.
- JmsResponse(T, Object) - Constructor for class org.springframework.jms.listener.adapter.JmsResponse
-
Create a new
JmsResponse
instance. - JmsSecurityException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS JMSSecurityException.
- JmsSecurityException(JMSSecurityException) - Constructor for exception org.springframework.jms.JmsSecurityException
- JmsTemplate - Class in org.springframework.jms.core
-
Helper class that simplifies synchronous JMS access code.
- JmsTemplate() - Constructor for class org.springframework.jms.core.JmsTemplate
-
Create a new JmsTemplate for bean-style usage.
- JmsTemplate(ConnectionFactory) - Constructor for class org.springframework.jms.core.JmsTemplate
-
Create a new JmsTemplate, given a ConnectionFactory.
- JmsTransactionManager - Class in org.springframework.jms.connection
-
PlatformTransactionManager
implementation for a single JMSConnectionFactory
. - JmsTransactionManager() - Constructor for class org.springframework.jms.connection.JmsTransactionManager
-
Create a new JmsTransactionManager for bean-style usage.
- JmsTransactionManager(ConnectionFactory) - Constructor for class org.springframework.jms.connection.JmsTransactionManager
-
Create a new JmsTransactionManager, given a ConnectionFactory.
- JmsUtils - Class in org.springframework.jms.support
-
Generic utility methods for working with JMS.
- JmsUtils() - Constructor for class org.springframework.jms.support.JmsUtils
- JndiDestinationResolver - Class in org.springframework.jms.support.destination
-
DestinationResolver
implementation which interprets destination names as JNDI locations (with a configurable fallback strategy). - JndiDestinationResolver() - Constructor for class org.springframework.jms.support.destination.JndiDestinationResolver
L
- lifecycleMonitor - Variable in class org.springframework.jms.listener.AbstractJmsListeningContainer
- ListenerExecutionFailedException - Exception in org.springframework.jms.listener.adapter
-
Exception to be thrown when the execution of a listener method failed.
- ListenerExecutionFailedException(String, Throwable) - Constructor for exception org.springframework.jms.listener.adapter.ListenerExecutionFailedException
-
Constructor for ListenerExecutionFailedException.
- logger - Variable in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- logger - Variable in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- logger - Variable in class org.springframework.jms.config.JmsListenerEndpointRegistry
- logger - Variable in class org.springframework.jms.connection.SingleConnectionFactory
- logger - Variable in class org.springframework.jms.core.support.JmsGatewaySupport
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jms.listener.endpoint.DefaultJmsActivationSpecFactory
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jms.support.JmsAccessor
-
Logger available to subclasses.
- logRejectedTask(Object, RuntimeException) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Log a task that has been rejected by
AbstractJmsListeningContainer.doRescheduleTask(java.lang.Object)
.
M
- MAP - Enum constant in enum class org.springframework.jms.support.converter.MessageType
-
A
MapMessage
. - MappingJackson2MessageConverter - Class in org.springframework.jms.support.converter
-
Message converter that uses Jackson 2.x to convert messages to and from JSON.
- MappingJackson2MessageConverter() - Constructor for class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a defaultObjectMapper
. - MappingJackson2MessageConverter(ObjectMapper) - Constructor for class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a customObjectMapper
. - mapToBytesMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Map the given object to a
BytesMessage
. - mapToMessage(Object, Session, ObjectWriter, MessageType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Template method that allows for custom message mapping.
- mapToTextMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Map the given object to a
TextMessage
. - MarshallingMessageConverter - Class in org.springframework.jms.support.converter
- MarshallingMessageConverter() - Constructor for class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Construct a new
MarshallingMessageConverter
with noMarshaller
orUnmarshaller
set. - MarshallingMessageConverter(Marshaller) - Constructor for class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Construct a new
MarshallingMessageConverter
with the givenMarshaller
set. - MarshallingMessageConverter(Marshaller, Unmarshaller) - Constructor for class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Construct a new
MarshallingMessageConverter
with the given Marshaller and Unmarshaller. - marshalToBytesMessage(Object, Session, Marshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Marshal the given object to a
BytesMessage
. - marshalToMessage(Object, Session, Marshaller, MessageType) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Template method that allows for custom message marshalling.
- marshalToTextMessage(Object, Session, Marshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Marshal the given object to a
TextMessage
. - MESSAGE_ID - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Unique identifier for a message.
- MessageConversionException - Exception in org.springframework.jms.support.converter
-
Thrown by
MessageConverter
implementations when the conversion of an object to/from aMessage
fails. - MessageConversionException(String) - Constructor for exception org.springframework.jms.support.converter.MessageConversionException
-
Create a new MessageConversionException.
- MessageConversionException(String, Throwable) - Constructor for exception org.springframework.jms.support.converter.MessageConversionException
-
Create a new MessageConversionException.
- MessageConverter - Interface in org.springframework.jms.support.converter
-
Strategy interface that specifies a converter between Java objects and JMS messages.
- MessageCreator - Interface in org.springframework.jms.core
-
Creates a JMS message given a
Session
. - MessageEOFException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageEOFException.
- MessageEOFException(MessageEOFException) - Constructor for exception org.springframework.jms.MessageEOFException
- MessageFormatException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageFormatException.
- MessageFormatException(MessageFormatException) - Constructor for exception org.springframework.jms.MessageFormatException
- MessageListenerAdapter - Class in org.springframework.jms.listener.adapter
-
Message listener adapter that delegates the handling of messages to target listener methods via reflection, with flexible message type conversion.
- MessageListenerAdapter() - Constructor for class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Create a new
MessageListenerAdapter
with default settings. - MessageListenerAdapter(Object) - Constructor for class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Create a new
MessageListenerAdapter
for the given delegate. - MessageListenerContainer - Interface in org.springframework.jms.listener
-
Internal abstraction used by the framework representing a message listener container.
- MessageNotReadableException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageNotReadableException.
- MessageNotReadableException(MessageNotReadableException) - Constructor for exception org.springframework.jms.MessageNotReadableException
- MessageNotWriteableException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageNotWriteableException.
- MessageNotWriteableException(MessageNotWriteableException) - Constructor for exception org.springframework.jms.MessageNotWriteableException
- MessagePostProcessor - Interface in org.springframework.jms.core
-
To be used with JmsTemplate's send method that converts an object to a message.
- messageReceived(Object, Session) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Template method that gets called right when a new message has been received, before attempting to process it.
- messageReceived(Object, Session) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Tries scheduling a new invoker, since we know messages are coming in...
- MessageType - Enum Class in org.springframework.jms.support.converter
-
Constants that indicate a target message type to convert to: a
TextMessage
, aBytesMessage
, aMapMessage
or anObjectMessage
. - MessagingMessageConverter - Class in org.springframework.jms.support.converter
-
Convert a
Message
from the messaging abstraction to and from aMessage
using an underlyingMessageConverter
for the payload and aJmsHeaderMapper
to map the JMS headers to and from standard message headers. - MessagingMessageConverter() - Constructor for class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create an instance with a default payload converter.
- MessagingMessageConverter(MessageConverter) - Constructor for class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create an instance with the specific payload converter.
- MessagingMessageConverter(MessageConverter, JmsHeaderMapper) - Constructor for class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create an instance with the specified payload converter and header mapper.
- MessagingMessageListenerAdapter - Class in org.springframework.jms.listener.adapter
-
A
MessageListener
adapter that invokes a configurableInvocableHandlerMethod
. - MessagingMessageListenerAdapter() - Constructor for class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
- MethodJmsListenerEndpoint - Class in org.springframework.jms.config
-
A
JmsListenerEndpoint
providing the method to invoke to process an incoming message for this endpoint. - MethodJmsListenerEndpoint() - Constructor for class org.springframework.jms.config.MethodJmsListenerEndpoint
N
- noMessageReceived(Object, Session) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Template method that gets called when no message has been received, before returning to the receive loop again.
- noMessageReceived(Object, Session) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Marks the affected invoker as idle.
O
- OBJECT - Enum constant in enum class org.springframework.jms.support.converter.MessageType
- obtainConnectionFactory() - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Obtain the ConnectionFactory for actual use.
- obtainConnectionFactory() - Method in class org.springframework.jms.support.JmsAccessor
-
Obtain the ConnectionFactory for actual use.
- onApplicationEvent(ContextRefreshedEvent) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- onException(JMSException) - Method in class org.springframework.jms.connection.ChainedExceptionListener
- onException(JMSException) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Exception listener callback that renews the underlying single Connection.
- onException(JMSException) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
JMS ExceptionListener implementation, invoked by the JMS provider in case of connection failures.
- onMessage(Message) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Standard JMS
MessageListener
entry point. - onMessage(Message, Session) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
- onMessage(Message, Session) - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Spring
SessionAwareMessageListener
entry point. - onMessage(Message, Session) - Method in class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
- onMessage(M, Session) - Method in interface org.springframework.jms.listener.SessionAwareMessageListener
-
Callback for processing a received JMS message.
- org.springframework.jms - package org.springframework.jms
-
This package contains integration classes for JMS, allowing for Spring-style JMS access.
- org.springframework.jms.annotation - package org.springframework.jms.annotation
-
Annotations and support classes for declarative JMS listener endpoints.
- org.springframework.jms.config - package org.springframework.jms.config
-
Support package for declarative messaging configuration, with Java configuration and XML schema support.
- org.springframework.jms.connection - package org.springframework.jms.connection
-
Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.
- org.springframework.jms.core - package org.springframework.jms.core
-
Core package of the JMS support.
- org.springframework.jms.core.support - package org.springframework.jms.core.support
-
Classes supporting the
org.springframework.jms.core
package. - org.springframework.jms.listener - package org.springframework.jms.listener
-
This package contains the base message listener container facility.
- org.springframework.jms.listener.adapter - package org.springframework.jms.listener.adapter
-
Message listener adapter mechanism that delegates to target listener methods, converting messages to appropriate message content types (such as String or byte array) that get passed into listener methods.
- org.springframework.jms.listener.endpoint - package org.springframework.jms.listener.endpoint
-
This package provides JCA-based endpoint management for JMS message listeners.
- org.springframework.jms.support - package org.springframework.jms.support
-
This package provides generic JMS support classes, to be used by higher-level classes like JmsTemplate.
- org.springframework.jms.support.converter - package org.springframework.jms.support.converter
-
Provides a MessageConverter abstraction to convert between Java objects and JMS messages.
- org.springframework.jms.support.destination - package org.springframework.jms.support.destination
-
Support classes for Spring's JMS framework.
- ORIGINAL_DEFAULT_LISTENER_METHOD - Static variable in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Out-of-the-box value for the default listener method: "handleMessage".
P
- populateActivationSpecProperties(BeanWrapper, JmsActivationSpecConfig) - Method in class org.springframework.jms.listener.endpoint.DefaultJmsActivationSpecFactory
-
This implementation supports Spring's extended "maxConcurrency" and "prefetchSize" settings through detecting corresponding ActivationSpec properties: "maxSessions"/"maxNumberOfWorks" and "maxMessagesPerSessions"/"maxMessages", respectively (following ActiveMQ's and JORAM's naming conventions).
- populateActivationSpecProperties(BeanWrapper, JmsActivationSpecConfig) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Populate the given ApplicationSpec object with the settings defined in the given configuration object.
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- postProcessBeforeInitialization(Object, String) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- postProcessMergedBeanDefinition(RootBeanDefinition, Class<?>, String) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
- postProcessMessage(Message) - Method in interface org.springframework.jms.core.MessagePostProcessor
-
Process the given message.
- postProcessProducer(MessageProducer, Message) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Post-process the given message producer before using it to send the response.
- postProcessResponse(Message, Message) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Post-process the given response message before it will be sent.
- PREFIX - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Prefix used for JMS API related headers in order to distinguish from user-defined headers and other internal headers (e.g.
- prepareConnection(Connection) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Prepare the given Connection before it is exposed.
- prepareSharedConnection(Connection) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Prepare the given Connection, which is about to be registered as shared Connection for this container.
- prepareSharedConnection(Connection) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Registers this listener container as JMS ExceptionListener on the shared connection.
- preProcessResponse(Object) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Pre-process the given result before it is converted to a
Message
. - preProcessResponse(Object) - Method in class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
- PRIORITY - Static variable in interface org.springframework.jms.support.JmsHeaders
-
The message priority level.
- processJmsListener(JmsListener, Method, Object) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
-
Process the given
JmsListener
annotation on the given method, registering a corresponding endpoint for the given bean instance. - processMessage(Message, Session) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Process a message received from the provider.
- ProducerCallback<T> - Interface in org.springframework.jms.core
-
Callback for sending a message to a JMS destination.
Q
- QosSettings - Class in org.springframework.jms.support
-
Gather the Quality-of-Service settings that can be used when sending a message.
- QosSettings() - Constructor for class org.springframework.jms.support.QosSettings
-
Create a new instance with the default settings.
- QosSettings(int, int, long) - Constructor for class org.springframework.jms.support.QosSettings
-
Create a new instance with the specified settings.
R
- receive() - Method in class org.springframework.jms.core.JmsMessagingTemplate
- receive() - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.
- receive() - Method in class org.springframework.jms.core.JmsTemplate
- receive(Destination) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receive(Destination) - Method in class org.springframework.jms.core.JmsTemplate
- receive(String) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Receive a message from the given destination.
- receive(String) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- receive(String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receive(String) - Method in class org.springframework.jms.core.JmsTemplate
- RECEIVE_TIMEOUT_INDEFINITE_WAIT - Static variable in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Timeout value indicating a blocking receive without timeout.
- RECEIVE_TIMEOUT_NO_WAIT - Static variable in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Timeout value indicating that a receive operation should check if a message is immediately available without blocking.
- receiveAndConvert() - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.
- receiveAndConvert() - Method in class org.springframework.jms.core.JmsTemplate
- receiveAndConvert(Destination) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receiveAndConvert(Destination) - Method in class org.springframework.jms.core.JmsTemplate
- receiveAndConvert(Class<T>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- receiveAndConvert(String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receiveAndConvert(String) - Method in class org.springframework.jms.core.JmsTemplate
- receiveAndConvert(String, Class<T>) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Receive a message from the given destination and convert its payload to the specified target class.
- receiveAndConvert(String, Class<T>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- receiveAndExecute(Object, Session, MessageConsumer) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Execute the listener for a message received from the given consumer, wrapping the entire operation in an external transaction if demanded.
- receiveFromConsumer(MessageConsumer, long) - Method in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Actually receive a message from the given consumer.
- receiveMessage(MessageConsumer) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Receive a message from the given consumer.
- receiveSelected(Destination, String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receiveSelected(Destination, String) - Method in class org.springframework.jms.core.JmsTemplate
- receiveSelected(String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.
- receiveSelected(String) - Method in class org.springframework.jms.core.JmsTemplate
- receiveSelected(String, String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receiveSelected(String, String) - Method in class org.springframework.jms.core.JmsTemplate
- receiveSelectedAndConvert(Destination, String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receiveSelectedAndConvert(Destination, String) - Method in class org.springframework.jms.core.JmsTemplate
- receiveSelectedAndConvert(String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.
- receiveSelectedAndConvert(String) - Method in class org.springframework.jms.core.JmsTemplate
- receiveSelectedAndConvert(String, String) - Method in interface org.springframework.jms.core.JmsOperations
-
Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
- receiveSelectedAndConvert(String, String) - Method in class org.springframework.jms.core.JmsTemplate
- recoverAfterListenerSetupFailure() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Recover this listener container after a listener failed to set itself up, for example re-establishing the underlying Connection.
- REDELIVERED - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Specify if the message was resent.
- refreshConnectionUntilSuccessful() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Refresh the underlying Connection, not returning before an attempt has been successful.
- refreshDestination() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Refresh the JMS destination that this listener container operates on.
- refreshSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Refresh the shared Connection that this container holds.
- registerAllEndpoints() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
- registerEndpoint(JmsListenerEndpoint) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Register a new
JmsListenerEndpoint
using the defaultJmsListenerContainerFactory
to create the underlying container. - registerEndpoint(JmsListenerEndpoint, JmsListenerContainerFactory<?>) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Register a new
JmsListenerEndpoint
alongside theJmsListenerContainerFactory
to use to create the underlying container. - registerListenerContainer(JmsListenerEndpoint, JmsListenerContainerFactory<?>) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
-
Create a message listener container for the given
JmsListenerEndpoint
. - registerListenerContainer(JmsListenerEndpoint, JmsListenerContainerFactory<?>, boolean) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
-
Create a message listener container for the given
JmsListenerEndpoint
. - releaseConnection(Connection, ConnectionFactory, boolean) - Static method in class org.springframework.jms.connection.ConnectionFactoryUtils
-
Release the given Connection, stopping it (if necessary) and eventually closing it.
- releaseSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Release the shared Connection, if any.
- removeCredentialsFromCurrentThread() - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Remove any user credentials for this proxy from the current thread.
- removeFromCache(String) - Method in interface org.springframework.jms.support.destination.CachingDestinationResolver
-
Remove the destination with the given name from the cache (if cached by this resolver in the first place).
- removeFromCache(String) - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
- REPLY_TO - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Name of the destination (topic or queue) the message replies should be sent to.
- ReplyFailureException - Exception in org.springframework.jms.listener.adapter
-
Exception to be thrown when the reply of a message failed to be sent.
- ReplyFailureException(String, Throwable) - Constructor for exception org.springframework.jms.listener.adapter.ReplyFailureException
- rescheduleTaskIfNecessary(Object) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Take the given task object and reschedule it, either immediately if this container is currently running, or later once this container has been restarted.
- resetConnection() - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Resets the Session cache as well.
- resetConnection() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Reset the underlying shared Connection, to be reinitialized on next access.
- resolveDefaultResponseDestination(Session) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Resolve the default response destination into a JMS
Destination
, using this accessor'sDestinationResolver
in case of a destination name. - resolveDestination(DestinationResolver, Session) - Method in class org.springframework.jms.listener.adapter.JmsResponse
-
Resolve the
Destination
to use for this instance. - resolveDestinationName(Session, String) - Method in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Resolve the given destination name into a JMS
Destination
, via this accessor'sDestinationResolver
. - resolveDestinationName(Session, String, boolean) - Method in class org.springframework.jms.support.destination.BeanFactoryDestinationResolver
- resolveDestinationName(Session, String, boolean) - Method in interface org.springframework.jms.support.destination.DestinationResolver
-
Resolve the given destination name, either as located resource or as dynamic destination.
- resolveDestinationName(Session, String, boolean) - Method in class org.springframework.jms.support.destination.DynamicDestinationResolver
-
Resolve the specified destination name as a dynamic destination.
- resolveDestinationName(Session, String, boolean) - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
- resolveQueue(Session, String) - Method in class org.springframework.jms.support.destination.DynamicDestinationResolver
-
Resolve the given destination name to a
Queue
. - resolveTopic(Session, String) - Method in class org.springframework.jms.support.destination.DynamicDestinationResolver
-
Resolve the given destination name to a
Topic
. - ResourceAllocationException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS ResourceAllocationException.
- ResourceAllocationException(ResourceAllocationException) - Constructor for exception org.springframework.jms.ResourceAllocationException
- resumePausedTasks() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Try to resume all paused tasks.
- rollbackIfNecessary(Session) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Perform a rollback, if appropriate.
- rollbackIfNecessary(Session) - Static method in class org.springframework.jms.support.JmsUtils
-
Roll back the Session if not within a JTA transaction.
- rollbackOnExceptionIfNecessary(Session, Throwable) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Perform a rollback, handling rollback exceptions properly.
- runningAllowed() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Check whether this container's listeners are generally allowed to run.
S
- scheduleNewInvokerIfAppropriate() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Schedule a new invoker, increasing the total number of scheduled invokers for this listener container, but only if the specified "maxConcurrentConsumers" limit has not been reached yet, and only if the specified "idleConsumerLimit" has not been reached either.
- selector() - Element in annotation interface org.springframework.jms.annotation.JmsListener
-
The JMS message selector expression, if any.
- send(Destination, MessageCreator) - Method in interface org.springframework.jms.core.JmsOperations
-
Send a message to the specified destination.
- send(Destination, MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
- send(String, MessageCreator) - Method in interface org.springframework.jms.core.JmsOperations
-
Send a message to the specified destination.
- send(String, MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
- send(String, Message<?>) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Send a message to the given destination.
- send(String, Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- send(MessageCreator) - Method in interface org.springframework.jms.core.JmsOperations
-
Send a message to the default destination.
- send(MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
- send(Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- sendAndReceive(Destination, MessageCreator) - Method in interface org.springframework.jms.core.JmsOperations
-
Send a message and receive the reply from the specified destination.
- sendAndReceive(Destination, MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
- sendAndReceive(String, MessageCreator) - Method in interface org.springframework.jms.core.JmsOperations
-
Send a message and receive the reply from the specified destination.
- sendAndReceive(String, MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
- sendAndReceive(String, Message<?>) - Method in interface org.springframework.jms.core.JmsMessageOperations
-
Send a request message and receive the reply from the given destination.
- sendAndReceive(String, Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- sendAndReceive(MessageCreator) - Method in interface org.springframework.jms.core.JmsOperations
-
Send a request message and receive the reply from a default destination.
- sendAndReceive(MessageCreator) - Method in class org.springframework.jms.core.JmsTemplate
- sendAndReceive(Message<?>) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- sendResponse(Session, Destination, Message) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Send the given response message to the given destination.
- SessionAwareMessageListener<M extends Message> - Interface in org.springframework.jms.listener
-
Variant of the standard JMS
MessageListener
interface, offering not only the received Message but also the underlying JMS Session object. - SessionCallback<T> - Interface in org.springframework.jms.core
-
Callback for executing any number of operations on a provided
Session
. - SessionProxy - Interface in org.springframework.jms.connection
-
Subinterface of
Session
to be implemented by Session proxies. - setAcceptMessagesWhileStopping(boolean) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set whether to accept received messages while the listener container in the process of stopping.
- setAcknowledgeMode(int) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Set the JMS acknowledgement mode to use.
- setAcknowledgeModeName(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Set the JMS acknowledgement mode by the name of the corresponding constant in the JMS
Session
interface — for example,"CLIENT_ACKNOWLEDGE"
. - setActivationSpecClass(Class<?>) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Specify the fully-qualified ActivationSpec class name for the target provider (e.g.
- setActivationSpecConfig(JmsActivationSpecConfig) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Specify the
JmsActivationSpecConfig
object that this endpoint manager should use for activating its listener. - setActivationSpecFactory(JmsActivationSpecFactory) - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- setActivationSpecFactory(JmsActivationSpecFactory) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Set the factory for concrete JCA 1.5 ActivationSpec objects, creating JCA ActivationSpecs based on
JmsActivationSpecConfig
objects. - setApplicationContext(ApplicationContext) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- setAutoStartup(boolean) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setAutoStartup(boolean) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Set whether to automatically start the container after initialization.
- setBackOff(BackOff) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setBackOff(BackOff) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the
BackOff
instance to use to compute the interval between recovery attempts. - setBean(Object) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Set the actual bean instance to invoke this endpoint method on.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- setBeanFactory(BeanFactory) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
-
Making a
BeanFactory
available is optional; if not set,JmsListenerConfigurer
beans won't get autodetected and anendpoint registry
has to be explicitly configured. - setBeanFactory(BeanFactory) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
A
BeanFactory
only needs to be available in conjunction withJmsListenerEndpointRegistrar.setContainerFactoryBeanName(java.lang.String)
. - setBeanFactory(BeanFactory) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Set the
BeanFactory
to use to resolve expressions (may benull
). - setBeanFactory(BeanFactory) - Method in class org.springframework.jms.support.destination.BeanFactoryDestinationResolver
- setBeanName(String) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
- setBeanName(String) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Set the name of this message endpoint.
- setCache(boolean) - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
-
Set whether to cache resolved destinations.
- setCacheConsumers(boolean) - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Specify whether to cache JMS MessageConsumers per JMS Session instance (more specifically: one MessageConsumer per Destination, selector String and Session).
- setCacheLevel(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the level of caching that this listener container is allowed to apply.
- setCacheLevel(Integer) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setCacheLevelName(String) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setCacheLevelName(String) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the level of caching that this listener container is allowed to apply, in the form of the name of the corresponding constant — for example,
"CACHE_CONNECTION"
. - setCacheProducers(boolean) - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Specify whether to cache JMS MessageProducers per JMS Session instance (more specifically: one MessageProducer per Destination and Session).
- setClientId(String) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setClientId(String) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Specify a JMS client ID for the single Connection created and exposed by this ConnectionFactory.
- setClientId(String) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Specify the JMS client ID for a shared Connection created and used by this container.
- setClientId(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setConcurrency(String) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Set a concurrency for the listener, if any.
- setConcurrency(String) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setConcurrency(String) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Specify concurrency limits.
- setConcurrency(String) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify concurrency limits via a "lower-upper" String, e.g.
- setConcurrency(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Specify concurrency limits via a "lower-upper" String, e.g.
- setConcurrency(String) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Specify concurrency limits via a "lower-upper" String, e.g.
- setConcurrentConsumers(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the number of concurrent consumers to create.
- setConcurrentConsumers(int) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Specify the number of concurrent consumers to create.
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Set the JMS ConnectionFactory that this instance should manage transactions for.
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.core.JmsMessagingTemplate
-
Set the ConnectionFactory to use for the underlying
JmsTemplate
. - setConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.core.support.JmsGatewaySupport
-
Set the JMS connection factory to be used by the gateway.
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.support.JmsAccessor
-
Set the ConnectionFactory to use for obtaining JMS
Connections
. - setConnectLazily(boolean) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Specify whether to connect lazily, i.e.
- setContainerFactory(JmsListenerContainerFactory<?>) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Set the
JmsListenerContainerFactory
to use in case aJmsListenerEndpoint
is registered with anull
container factory. - setContainerFactoryBeanName(String) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
-
Set the name of the
JmsListenerContainerFactory
to use by default. - setContainerFactoryBeanName(String) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Set the bean name of the
JmsListenerContainerFactory
to use in case aJmsListenerEndpoint
is registered with anull
container factory. - setCredentialsForCurrentThread(String, String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Set user credentials for this proxy and the current thread.
- setDefaultDestination(Destination) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the destination to be used on send/receive operations that do not have a destination parameter.
- setDefaultDestinationName(String) - Method in class org.springframework.jms.core.JmsMessagingTemplate
-
Configure the default destination name to use in send methods that don't have a destination argument.
- setDefaultDestinationName(String) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the destination name to be used on send/receive operations that do not have a destination parameter.
- setDefaultListenerMethod(String) - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Specify the name of the default listener method to delegate to, for the case where no specific listener method has been determined.
- setDefaultProperties(Map<String, String>) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Specify custom default properties, with String keys and String values.
- setDefaultResponseDestination(Destination) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the default destination to send response messages to.
- setDefaultResponseQueueName(String) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the name of the default response queue to send response messages to.
- setDefaultResponseTopicName(String) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the name of the default response topic to send response messages to.
- setDelegate(Object) - Method in class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Set a target object to delegate message listening to.
- setDeliveryDelay(long) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the delivery delay to use for send calls (in milliseconds).
- setDeliveryMode(int) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the delivery mode to use when sending a message.
- setDeliveryMode(int) - Method in class org.springframework.jms.support.QosSettings
-
Set the delivery mode to use when sending a message.
- setDeliveryPersistent(boolean) - Method in class org.springframework.jms.core.JmsTemplate
-
Set whether message delivery should be persistent or non-persistent, specified as boolean value ("true" or "false").
- setDestination(Destination) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the destination to receive messages from.
- setDestination(String) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Set the name of the destination for this endpoint.
- setDestinationName(String) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the name of the destination to receive messages from.
- setDestinationName(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- setDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the DestinationResolver that should be used to resolve response destination names for this adapter.
- setDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Set the DestinationResolver to use for resolving destination names into the JCA 1.5 ActivationSpec "destination" property.
- setDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
-
Set the DestinationResolver to use for resolving destination names into the JCA 1.5 ActivationSpec "destination" property.
- setDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Set the
DestinationResolver
that is to be used to resolveDestination
references for this accessor. - setDurableSubscriptionName(String) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the name of a durable subscription to create.
- setDurableSubscriptionName(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setDynamicDestinationResolver(DestinationResolver) - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
-
Set the
DestinationResolver
to use when falling back to dynamic destinations. - setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Set a value resolver for embedded placeholders and expressions.
- setEncoding(String) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Specify the encoding to use when converting to and from text-based message body content.
- setEncodingPropertyName(String) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Specify the name of the JMS message property that carries the encoding from bytes to String and back is BytesMessage is used during the conversion process.
- setEndpointRegistry(JmsListenerEndpointRegistry) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
-
Set the
JmsListenerEndpointRegistry
that will hold the created endpoint and manage the lifecycle of the related listener container. - setEndpointRegistry(JmsListenerEndpointRegistry) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Set the
JmsListenerEndpointRegistry
instance to use. - setErrorHandler(ErrorHandler) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setErrorHandler(ErrorHandler) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the
ErrorHandler
to be invoked in case of any uncaught exceptions thrown while processing aMessage
. - setExceptionListener(ExceptionListener) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setExceptionListener(ExceptionListener) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Specify an JMS ExceptionListener implementation that should be registered with the single Connection created by this factory.
- setExceptionListener(ExceptionListener) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure.
- setExplicitQosEnabled(boolean) - Method in class org.springframework.jms.core.JmsTemplate
-
Set if the QOS values (deliveryMode, priority, timeToLive) should be used for sending a message.
- setExposeListenerSession(boolean) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set whether to expose the listener JMS Session to a registered
SessionAwareMessageListener
as well as toJmsTemplate
calls. - setFallbackToDynamicDestination(boolean) - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
-
Set whether this resolver is supposed to create dynamic destinations if the destination name is not found in JNDI.
- setHandlerMethod(InvocableHandlerMethod) - Method in class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
-
Set the
InvocableHandlerMethod
to use to invoke the method processing an incomingMessage
. - setHeaderMapper(JmsHeaderMapper) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the
JmsHeaderMapper
implementation to use to map the standard JMS headers. - setHeaderMapper(JmsHeaderMapper) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
-
Set the
JmsHeaderMapper
to use to map JMS headers to and from standard message headers. - setId(String) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Set a custom id for this endpoint.
- setIdleConsumerLimit(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the limit for the number of consumers that are allowed to be idle at any given time.
- setIdleReceivesPerTaskLimit(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Marks the consumer as 'idle' after the specified number of idle receives have been reached.
- setIdleTaskExecutionLimit(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the limit for idle executions of a consumer task, not having received any message within its execution.
- setJmsMessageConverter(MessageConverter) - Method in class org.springframework.jms.core.JmsMessagingTemplate
- setJmsTemplate(JmsTemplate) - Method in class org.springframework.jms.core.JmsMessagingTemplate
-
Set the
JmsTemplate
to use. - setJmsTemplate(JmsTemplate) - Method in class org.springframework.jms.core.support.JmsGatewaySupport
-
Set the JmsTemplate for the gateway.
- setLazyResourceRetrieval(boolean) - Method in class org.springframework.jms.connection.JmsTransactionManager
-
Specify whether this transaction manager should lazily retrieve a JMS Connection and Session on access within a transaction (
true
). - setMarshaller(Marshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Set the
Marshaller
to be used by this message converter. - setMaxConcurrency(int) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Specify the maximum number of consumers/sessions to use, effectively controlling the number of concurrent invocations on the target listener.
- setMaxConcurrentConsumers(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the maximum number of concurrent consumers to create.
- setMaxMessagesPerTask(int) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the maximum number of messages to process in one task.
- setMaxMessagesPerTask(Integer) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setMessageConverter(MessageConverter) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setMessageConverter(MessageConverter) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the message converter for this template.
- setMessageConverter(MessageConverter) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the
MessageConverter
strategy for converting JMS Messages. - setMessageConverter(MessageConverter) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the converter that will convert incoming JMS messages to listener method arguments, and objects returned from listener methods back to JMS messages.
- setMessageConverter(MessageConverter) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Set the
MessageConverter
strategy for converting JMS Messages. - setMessageHandlerMethodFactory(MessageHandlerMethodFactory) - Method in class org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
-
Set the
MessageHandlerMethodFactory
to use to configure the message listener responsible to serve an endpoint detected by this processor. - setMessageHandlerMethodFactory(MessageHandlerMethodFactory) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistrar
-
Set the
MessageHandlerMethodFactory
to use to configure the message listener responsible to serve an endpoint detected by this processor. - setMessageHandlerMethodFactory(MessageHandlerMethodFactory) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Set the
MessageHandlerMethodFactory
to use to build theInvocableHandlerMethod
responsible to manage the invocation of this endpoint. - setMessageIdEnabled(boolean) - Method in class org.springframework.jms.core.JmsTemplate
-
Set whether message IDs are enabled.
- setMessageListener(MessageListener) - Method in class org.springframework.jms.config.SimpleJmsListenerEndpoint
-
Set the
MessageListener
to invoke when a message matching the endpoint is received. - setMessageListener(MessageListener) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointFactory
-
Set the JMS MessageListener for this endpoint.
- setMessageListener(MessageListener) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Set the JMS MessageListener for this endpoint.
- setMessageListener(Object) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the message listener implementation to register.
- setMessageSelector(String) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the JMS message selector expression (or
null
if none). - setMessageSelector(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setMessageTimestampEnabled(boolean) - Method in class org.springframework.jms.core.JmsTemplate
-
Set whether message timestamps are enabled.
- setMethod(Method) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Set the method to invoke for processing a message managed by this endpoint.
- setMostSpecificMethod(Method) - Method in class org.springframework.jms.config.MethodJmsListenerEndpoint
-
Set the most specific method known for this endpoint's declaration.
- setObjectMapper(ObjectMapper) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Set the
ObjectMapper
for this converter. - setObservationRegistry(ObservationRegistry) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
-
Set the
ObservationRegistry
to be used for recording JMS message processing observations. - setObservationRegistry(ObservationRegistry) - Method in class org.springframework.jms.core.JmsTemplate
-
Configure the
ObservationRegistry
to use for recording JMS observations. - setObservationRegistry(ObservationRegistry) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the
ObservationRegistry
to be used for recordingJMS message processing observations
. - setPassword(String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Set the password that this adapter should use for retrieving Connections.
- setPayloadConverter(MessageConverter) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
-
Set the
MessageConverter
to use to convert the payload. - setPhase(int) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setPhase(int) - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- setPhase(int) - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Specify the lifecycle phase in which this container should be started and stopped.
- setPrefetchSize(int) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
-
Specify the maximum number of messages to load into a session (a kind of batch size).
- setPriority(int) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the priority of a message when sending.
- setPriority(int) - Method in class org.springframework.jms.support.QosSettings
-
Set the priority of a message when sending.
- setPubSubDomain(boolean) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setPubSubDomain(boolean) - Method in class org.springframework.jms.support.destination.JmsDestinationAccessor
-
Configure the destination accessor with knowledge of the JMS domain used.
- setPubSubDomain(Boolean) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setPubSubNoLocal(boolean) - Method in class org.springframework.jms.core.JmsTemplate
-
Set whether to inhibit the delivery of messages published by its own connection.
- setPubSubNoLocal(boolean) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set whether to inhibit the delivery of messages published by its own connection.
- setQosSettings(QosSettings) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the
QosSettings
to use when sending a message. - setReceiveTimeout(long) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the timeout to use for receive calls (in milliseconds).
- setReceiveTimeout(long) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Set the timeout to use for receive calls, in milliseconds.
- setReceiveTimeout(Long) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setReconnectOnException(boolean) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Specify whether the single Connection should be reset (to be subsequently renewed) when a JMSException is reported by the underlying Connection.
- setRecoverOnException(boolean) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Specify whether to explicitly recover the shared JMS Connection and the associated Sessions and MessageConsumers whenever a JMSException is reported.
- setRecoveryInterval(long) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Specify the interval between recovery attempts, in milliseconds.
- setRecoveryInterval(Long) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setReplyPubSubDomain(boolean) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Configure the reply destination type.
- setReplyPubSubDomain(boolean) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setReplyPubSubDomain(Boolean) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setReplyQosSettings(QosSettings) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setReplyQosSettings(QosSettings) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Configure the
QosSettings
to use when sending a reply. - setReplyQosSettings(QosSettings) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setResourceAdapter(ResourceAdapter) - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- setResponseQosSettings(QosSettings) - Method in class org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener
-
Set the
QosSettings
to use when sending a response. - setSelector(String) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Set the JMS message selector expression.
- setSessionAcknowledgeMode(int) - Method in class org.springframework.jms.support.JmsAccessor
-
Set the JMS acknowledgement mode that is used when creating a JMS
Session
to send a message. - setSessionAcknowledgeMode(Integer) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setSessionAcknowledgeModeName(String) - Method in class org.springframework.jms.support.JmsAccessor
-
Set the JMS acknowledgement mode by the name of the corresponding constant in the JMS
Session
interface — for example,"CLIENT_ACKNOWLEDGE"
. - setSessionCacheSize(int) - Method in class org.springframework.jms.connection.CachingConnectionFactory
-
Specify the desired size for the JMS Session cache (per JMS Session type).
- setSessionTransacted(boolean) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
- setSessionTransacted(boolean) - Method in class org.springframework.jms.support.JmsAccessor
-
Set the transaction mode that is used when creating a JMS
Session
. - setSessionTransacted(Boolean) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setShouldStopConnections(boolean) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
-
Indicate whether Connections obtained from the target factory are supposed to be stopped before closed ("true") or simply closed ("false").
- setSubscription(String) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
-
Set the name for the durable subscription.
- setSubscriptionDurable(boolean) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set whether to make the subscription durable.
- setSubscriptionDurable(boolean) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setSubscriptionDurable(Boolean) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setSubscriptionName(String) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set the name of a subscription to create.
- setSubscriptionName(String) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setSubscriptionShared(boolean) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
-
Set whether to make the subscription shared.
- setSubscriptionShared(boolean) - Method in class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
- setSubscriptionShared(Boolean) - Method in class org.springframework.jms.config.AbstractJmsListenerContainerFactory
- setSynchedLocalTransactionAllowed(boolean) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Set whether to allow for a local JMS transaction that is synchronized with a Spring-managed transaction (where the main transaction might be a JDBC-based one for a specific DataSource, for example), with the JMS transaction committing right after the main transaction.
- setTargetConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
-
Set the target ConnectionFactory that this ConnectionFactory should delegate to.
- setTargetConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Set the target ConnectionFactory which will be used to lazily create a single Connection.
- setTargetConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Set the target ConnectionFactory that this ConnectionFactory should delegate to.
- setTargetConnectionFactory(ConnectionFactory) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Set the target ConnectionFactory that this ConnectionFactory should delegate to.
- setTargetType(MessageType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Specify whether
MappingJackson2MessageConverter.toMessage(Object, Session)
should marshal to aBytesMessage
or aTextMessage
. - setTargetType(MessageType) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Specify whether
MarshallingMessageConverter.toMessage(Object, Session)
should marshal to aBytesMessage
or aTextMessage
. - setTaskExecutor(Executor) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setTaskExecutor(Executor) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Set the Spring
TaskExecutor
to use for running the listener threads. - setTaskExecutor(Executor) - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Set the Spring TaskExecutor to use for executing the listener once a message has been received by the provider.
- setTimeToLive(long) - Method in class org.springframework.jms.core.JmsTemplate
-
Set the time-to-live of the message when sending.
- setTimeToLive(long) - Method in class org.springframework.jms.support.QosSettings
-
Set the time-to-live of the message when sending.
- setTransactionManager(Object) - Method in class org.springframework.jms.config.DefaultJcaListenerContainerFactory
- setTransactionManager(Object) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
-
Set the XA transaction manager to use for wrapping endpoint invocations, enlisting the endpoint resource in each such transaction.
- setTransactionManager(PlatformTransactionManager) - Method in class org.springframework.jms.config.DefaultJmsListenerContainerFactory
- setTransactionManager(PlatformTransactionManager) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Specify the Spring
PlatformTransactionManager
to use for transactional wrapping of message reception plus listener execution. - setTransactionName(String) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Specify the transaction name to use for transactional wrapping.
- setTransactionTimeout(int) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Specify the transaction timeout to use for transactional wrapping, in seconds.
- setTypeIdMappings(Map<String, Class<?>>) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Specify mappings from type ids to Java classes, if desired.
- setTypeIdOnMessage(Object, Message) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Set a type id for the given payload object on the given JMS Message.
- setTypeIdPropertyName(String) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Specify the name of the JMS message property that carries the type id for the contained object: either a mapped id value or a raw Java class name.
- setUnmarshaller(Unmarshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Set the
Unmarshaller
to be used by this message converter. - setupListenerContainer(MessageListenerContainer) - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
- setupListenerContainer(MessageListenerContainer) - Method in interface org.springframework.jms.config.JmsListenerEndpoint
-
Set up the specified message listener container with the model defined by this endpoint.
- setupMessageListener(Object) - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
- setupMessageListener(Object) - Method in class org.springframework.jms.listener.endpoint.JmsMessageEndpointManager
- setupMessageListener(Object) - Method in interface org.springframework.jms.listener.MessageListenerContainer
-
Set up the message listener to use.
- setUsername(String) - Method in class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
-
Set the username that this adapter should use for retrieving Connections.
- sharedConnectionEnabled() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Return whether a shared JMS Connection should be maintained by this container base class.
- sharedConnectionEnabled() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Use a shared JMS Connection depending on the "cacheLevel" setting.
- sharedConnectionEnabled() - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
-
Always use a shared JMS Connection.
- sharedConnectionMonitor - Variable in class org.springframework.jms.listener.AbstractJmsListeningContainer
- SharedConnectionNotInitializedException(String) - Constructor for exception org.springframework.jms.listener.AbstractJmsListeningContainer.SharedConnectionNotInitializedException
-
Create a new SharedConnectionNotInitializedException.
- shouldCommitAfterNoMessageReceived(Session) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Determine whether to trigger a commit after no message has been received.
- shouldStop(Connection) - Method in class org.springframework.jms.connection.DelegatingConnectionFactory
- shouldStop(Connection) - Method in interface org.springframework.jms.connection.SmartConnectionFactory
-
Should we stop the Connection, obtained from this ConnectionFactory?
- shutdown() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Stop the shared Connection, call
AbstractJmsListeningContainer.doShutdown()
, and close this container. - SimpleJmsHeaderMapper - Class in org.springframework.jms.support
-
Simple implementation of
JmsHeaderMapper
. - SimpleJmsHeaderMapper() - Constructor for class org.springframework.jms.support.SimpleJmsHeaderMapper
- SimpleJmsListenerContainerFactory - Class in org.springframework.jms.config
-
A
JmsListenerContainerFactory
implementation to build a standardSimpleMessageListenerContainer
. - SimpleJmsListenerContainerFactory() - Constructor for class org.springframework.jms.config.SimpleJmsListenerContainerFactory
- SimpleJmsListenerEndpoint - Class in org.springframework.jms.config
-
A
JmsListenerEndpoint
simply providing theMessageListener
to invoke to process an incoming message for this endpoint. - SimpleJmsListenerEndpoint() - Constructor for class org.springframework.jms.config.SimpleJmsListenerEndpoint
- SimpleMessageConverter - Class in org.springframework.jms.support.converter
-
A simple message converter which is able to handle TextMessages, BytesMessages, MapMessages, and ObjectMessages.
- SimpleMessageConverter() - Constructor for class org.springframework.jms.support.converter.SimpleMessageConverter
- SimpleMessageListenerContainer - Class in org.springframework.jms.listener
-
Message listener container that uses the plain JMS client API's
MessageConsumer.setMessageListener()
method to create concurrent MessageConsumers for the specified listeners. - SimpleMessageListenerContainer() - Constructor for class org.springframework.jms.listener.SimpleMessageListenerContainer
- SingleConnectionFactory - Class in org.springframework.jms.connection
-
A JMS ConnectionFactory adapter that returns the same Connection from all
SingleConnectionFactory.createConnection()
calls, and ignores calls toConnection.close()
. - SingleConnectionFactory() - Constructor for class org.springframework.jms.connection.SingleConnectionFactory
-
Create a new SingleConnectionFactory for bean-style usage.
- SingleConnectionFactory(Connection) - Constructor for class org.springframework.jms.connection.SingleConnectionFactory
-
Create a new SingleConnectionFactory that always returns the given Connection.
- SingleConnectionFactory(ConnectionFactory) - Constructor for class org.springframework.jms.connection.SingleConnectionFactory
-
Create a new SingleConnectionFactory that always returns a single Connection that it will lazily create via the given target ConnectionFactory.
- SmartConnectionFactory - Interface in org.springframework.jms.connection
-
Extension of the
jakarta.jms.ConnectionFactory
interface, indicating how to release Connections obtained from it. - SmartMessageConverter - Interface in org.springframework.jms.support.converter
-
An extended
MessageConverter
SPI with conversion hint support. - StandardJmsActivationSpecFactory - Class in org.springframework.jms.listener.endpoint
-
Standard implementation of the
JmsActivationSpecFactory
interface. - StandardJmsActivationSpecFactory() - Constructor for class org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory
- start() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- start() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Initialize the underlying shared connection on start.
- start() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Start this container.
- start() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Overridden to reset the stop callback, if any.
- startSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Start the shared Connection.
- startSharedConnection() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
This implementation proceeds even after an exception thrown from
Connection.start()
, relying on listeners to perform appropriate recovery. - stop() - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- stop() - Method in class org.springframework.jms.connection.SingleConnectionFactory
-
Reset the underlying shared connection on stop.
- stop() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Stop this container.
- stop(Runnable) - Method in class org.springframework.jms.config.JmsListenerEndpointRegistry
- stop(Runnable) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Stop this listener container, invoking the specific callback once all listener processing has actually stopped.
- stopSharedConnection() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Stop the shared Connection.
- stopSharedConnection() - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
This implementation proceeds even after an exception thrown from
Connection.stop()
, relying on listeners to perform appropriate recovery after a restart. - subscription() - Element in annotation interface org.springframework.jms.annotation.JmsListener
-
The name for the durable subscription, if any.
- SubscriptionNameProvider - Interface in org.springframework.jms.listener
-
Interface to be implemented by message listener objects that suggest a specific name for a durable subscription that they might be registered with.
- SynchedLocalTransactionFailedException - Exception in org.springframework.jms.connection
-
Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed).
- SynchedLocalTransactionFailedException(String, JMSException) - Constructor for exception org.springframework.jms.connection.SynchedLocalTransactionFailedException
-
Create a new SynchedLocalTransactionFailedException.
T
- TEXT - Enum constant in enum class org.springframework.jms.support.converter.MessageType
-
A
TextMessage
. - TIMESTAMP - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Date and time of the message sending operation.
- toHeaderName(String) - Method in class org.springframework.jms.support.SimpleJmsHeaderMapper
-
Add the inbound prefix if necessary.
- toHeaders(Message) - Method in class org.springframework.jms.support.SimpleJmsHeaderMapper
- toMessage(Object, Session) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- toMessage(Object, Session) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
This implementation marshals the given object to a
TextMessage
orBytesMessage
. - toMessage(Object, Session) - Method in interface org.springframework.jms.support.converter.MessageConverter
-
Convert a Java object to a JMS Message using the supplied session to create the message object.
- toMessage(Object, Session) - Method in class org.springframework.jms.support.converter.MessagingMessageConverter
- toMessage(Object, Session) - Method in class org.springframework.jms.support.converter.SimpleMessageConverter
-
This implementation creates a TextMessage for a String, a BytesMessage for a byte array, a MapMessage for a Map, and an ObjectMessage for a Serializable object.
- toMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- toMessage(Object, Session, Class<?>) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Convert a Java object to a JMS Message using the specified json view and the supplied session to create the message object.
- toMessage(Object, Session, Object) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- toMessage(Object, Session, Object) - Method in interface org.springframework.jms.support.converter.SmartMessageConverter
-
A variant of
MessageConverter.toMessage(Object, Session)
which takes an extra conversion context as an argument, allowing to take e.g. - toMessagingMessage(Message) - Method in class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
- toString() - Method in class org.springframework.jms.config.AbstractJmsListenerEndpoint
- toString() - Method in class org.springframework.jms.listener.adapter.JmsResponse
- toString() - Method in class org.springframework.jms.support.QosSettings
- TransactionAwareConnectionFactoryProxy - Class in org.springframework.jms.connection
-
Proxy for a target JMS
ConnectionFactory
, adding awareness of Spring-managed transactions. - TransactionAwareConnectionFactoryProxy() - Constructor for class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Create a new TransactionAwareConnectionFactoryProxy.
- TransactionAwareConnectionFactoryProxy(ConnectionFactory) - Constructor for class org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy
-
Create a new TransactionAwareConnectionFactoryProxy.
- TransactionInProgressException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS TransactionInProgressException.
- TransactionInProgressException(TransactionInProgressException) - Constructor for exception org.springframework.jms.TransactionInProgressException
- TransactionRolledBackException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS TransactionRolledBackException.
- TransactionRolledBackException(TransactionRolledBackException) - Constructor for exception org.springframework.jms.TransactionRolledBackException
- TYPE - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Message type label.
U
- UncategorizedJmsException - Exception in org.springframework.jms
-
JmsException to be thrown when no other matching subclass found.
- UncategorizedJmsException(String) - Constructor for exception org.springframework.jms.UncategorizedJmsException
-
Constructor that takes a message.
- UncategorizedJmsException(String, Throwable) - Constructor for exception org.springframework.jms.UncategorizedJmsException
-
Constructor that takes a message and a root cause.
- UncategorizedJmsException(Throwable) - Constructor for exception org.springframework.jms.UncategorizedJmsException
-
Constructor that takes a root cause only.
- unmarshalFromBytesMessage(BytesMessage, Unmarshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Unmarshal the given
BytesMessage
into an object. - unmarshalFromMessage(Message, Unmarshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Template method that allows for custom message unmarshalling.
- unmarshalFromTextMessage(TextMessage, Unmarshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Unmarshal the given
TextMessage
into an object. - UserCredentialsConnectionFactoryAdapter - Class in org.springframework.jms.connection
-
An adapter for a target JMS
ConnectionFactory
, applying the given user credentials to every standardcreateConnection()
call, that is, implicitly invokingcreateConnection(username, password)
on the target. - UserCredentialsConnectionFactoryAdapter() - Constructor for class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter
V
- validateConfiguration() - Method in class org.springframework.jms.listener.AbstractJmsListeningContainer
-
Validate the configuration of this container.
- validateConfiguration() - Method in class org.springframework.jms.listener.AbstractMessageListenerContainer
- validateConfiguration() - Method in class org.springframework.jms.listener.SimpleMessageListenerContainer
- validateDestination(Destination, String, boolean) - Method in class org.springframework.jms.support.destination.JndiDestinationResolver
-
Validate the given Destination object, checking whether it matches the expected type.
- value() - Element in annotation interface org.springframework.jms.annotation.JmsListeners
- valueOf(String) - Static method in enum class org.springframework.jms.support.converter.MessageType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.jms.support.converter.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wrap(Message<?>) - Static method in class org.springframework.jms.support.JmsMessageHeaderAccessor
-
Create a
JmsMessageHeaderAccessor
from the headers of an existing message.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form