Uses of Class
org.springframework.jms.JmsException
Package
Description
This package contains integration classes for JMS,
allowing for Spring-style JMS access.
Provides a PlatformTransactionManager implementation for a single
JMS ConnectionFactory, and a SingleConnectionFactory adapter.
Core package of the JMS support.
This package contains the base message listener container facility.
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.
This package provides generic JMS support classes,
to be used by higher-level classes like JmsTemplate.
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
Support classes for Spring's JMS framework.
-
Uses of JmsException in org.springframework.jms
Modifier and TypeClassDescriptionclass
Runtime exception mirroring the JMS IllegalStateException.class
Runtime exception mirroring the JMS InvalidClientIDException.class
Runtime exception mirroring the JMS InvalidDestinationException.class
Runtime exception mirroring the JMS InvalidSelectorException.class
Runtime exception mirroring the JMS JMSSecurityException.class
Runtime exception mirroring the JMS MessageEOFException.class
Runtime exception mirroring the JMS MessageFormatException.class
Runtime exception mirroring the JMS MessageNotReadableException.class
Runtime exception mirroring the JMS MessageNotWriteableException.class
Runtime exception mirroring the JMS ResourceAllocationException.class
Runtime exception mirroring the JMS TransactionInProgressException.class
Runtime exception mirroring the JMS TransactionRolledBackException.class
JmsException to be thrown when no other matching subclass found. -
Uses of JmsException in org.springframework.jms.connection
Modifier and TypeClassDescriptionclass
Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed). -
Uses of JmsException in org.springframework.jms.core
Modifier and TypeMethodDescriptionprotected MessagingException
JmsMessagingTemplate.convertJmsException
(JmsException ex) Modifier and TypeMethodDescription<T> T
JmsOperations.browse
(Queue queue, BrowserCallback<T> action) Browse messages in a JMS queue.<T> T
JmsOperations.browse
(String queueName, BrowserCallback<T> action) Browse messages in a JMS queue.<T> T
JmsOperations.browse
(BrowserCallback<T> action) Browse messages in the default JMS queue.<T> T
JmsTemplate.browse
(Queue queue, BrowserCallback<T> action) <T> T
JmsTemplate.browse
(String queueName, BrowserCallback<T> action) <T> T
JmsTemplate.browse
(BrowserCallback<T> action) <T> T
JmsOperations.browseSelected
(Queue queue, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> T
JmsOperations.browseSelected
(String queueName, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> T
JmsOperations.browseSelected
(String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> T
JmsTemplate.browseSelected
(Queue queue, String messageSelector, BrowserCallback<T> action) <T> T
JmsTemplate.browseSelected
(String queueName, String messageSelector, BrowserCallback<T> action) <T> T
JmsTemplate.browseSelected
(String messageSelector, BrowserCallback<T> action) void
JmsOperations.convertAndSend
(Destination destination, Object message) Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.void
JmsOperations.convertAndSend
(Destination destination, Object message, MessagePostProcessor postProcessor) Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.void
JmsOperations.convertAndSend
(Object message) Send the given object to the default destination, converting the object to a JMS message with a configured MessageConverter.void
JmsOperations.convertAndSend
(Object message, MessagePostProcessor postProcessor) Send the given object to the default destination, converting the object to a JMS message with a configured MessageConverter.void
JmsOperations.convertAndSend
(String destinationName, Object message) Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.void
JmsOperations.convertAndSend
(String destinationName, Object message, MessagePostProcessor postProcessor) Send the given object to the specified destination, converting the object to a JMS message with a configured MessageConverter.void
JmsTemplate.convertAndSend
(Destination destination, Object message) void
JmsTemplate.convertAndSend
(Destination destination, Object message, MessagePostProcessor postProcessor) void
JmsTemplate.convertAndSend
(Object message) void
JmsTemplate.convertAndSend
(Object message, MessagePostProcessor postProcessor) void
JmsTemplate.convertAndSend
(String destinationName, Object message) void
JmsTemplate.convertAndSend
(String destinationName, Object message, MessagePostProcessor postProcessor) <T> T
JmsOperations.execute
(Destination destination, ProducerCallback<T> action) Send messages to a JMS destination.<T> T
JmsOperations.execute
(String destinationName, ProducerCallback<T> action) Send messages to a JMS destination.<T> T
JmsOperations.execute
(ProducerCallback<T> action) Send messages to the default JMS destination (or one specified for each send operation).<T> T
JmsOperations.execute
(SessionCallback<T> action) Execute the action specified by the given action object within a JMS Session.<T> T
JmsTemplate.execute
(Destination destination, ProducerCallback<T> action) <T> T
JmsTemplate.execute
(String destinationName, ProducerCallback<T> action) <T> T
JmsTemplate.execute
(ProducerCallback<T> action) <T> T
JmsTemplate.execute
(SessionCallback<T> action) <T> T
JmsTemplate.execute
(SessionCallback<T> action, boolean startConnection) Execute the action specified by the given action object within a JMS Session.JmsOperations.receive()
Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receive
(Destination destination) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receive()
JmsTemplate.receive
(Destination destination) JmsOperations.receiveAndConvert()
Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveAndConvert
(Destination destination) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveAndConvert
(String destinationName) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveAndConvert()
JmsTemplate.receiveAndConvert
(Destination destination) JmsTemplate.receiveAndConvert
(String destinationName) JmsOperations.receiveSelected
(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected
(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected
(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelected
(Destination destination, String messageSelector) JmsTemplate.receiveSelected
(String messageSelector) JmsTemplate.receiveSelected
(String destinationName, String messageSelector) JmsOperations.receiveSelectedAndConvert
(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert
(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert
(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelectedAndConvert
(Destination destination, String messageSelector) JmsTemplate.receiveSelectedAndConvert
(String messageSelector) JmsTemplate.receiveSelectedAndConvert
(String destinationName, String messageSelector) void
JmsOperations.send
(Destination destination, MessageCreator messageCreator) Send a message to the specified destination.void
JmsOperations.send
(String destinationName, MessageCreator messageCreator) Send a message to the specified destination.void
JmsOperations.send
(MessageCreator messageCreator) Send a message to the default destination.void
JmsTemplate.send
(Destination destination, MessageCreator messageCreator) void
JmsTemplate.send
(String destinationName, MessageCreator messageCreator) void
JmsTemplate.send
(MessageCreator messageCreator) JmsOperations.sendAndReceive
(Destination destination, MessageCreator messageCreator) Send a message and receive the reply from the specified destination.JmsOperations.sendAndReceive
(String destinationName, MessageCreator messageCreator) Send a message and receive the reply from the specified destination.JmsOperations.sendAndReceive
(MessageCreator messageCreator) Send a request message and receive the reply from a default destination.JmsTemplate.sendAndReceive
(Destination destination, MessageCreator messageCreator) JmsTemplate.sendAndReceive
(String destinationName, MessageCreator messageCreator) JmsTemplate.sendAndReceive
(MessageCreator messageCreator) -
Uses of JmsException in org.springframework.jms.listener
Modifier and TypeMethodDescriptionvoid
AbstractJmsListeningContainer.initialize()
Initialize this container.void
AbstractJmsListeningContainer.shutdown()
Stop the shared Connection, callAbstractJmsListeningContainer.doShutdown()
, and close this container.void
AbstractJmsListeningContainer.start()
Start this container.void
DefaultMessageListenerContainer.start()
Overridden to reset the stop callback, if any.void
AbstractJmsListeningContainer.stop()
Stop this container.void
Stop this listener container, invoking the specific callback once all listener processing has actually stopped. -
Uses of JmsException in org.springframework.jms.listener.adapter
Modifier and TypeClassDescriptionclass
Exception to be thrown when the execution of a listener method failed.class
Exception to be thrown when the reply of a message failed to be sent. -
Uses of JmsException in org.springframework.jms.support
Modifier and TypeMethodDescriptionprotected JmsException
JmsAccessor.convertJmsAccessException
(JMSException ex) Convert the specified checkedJMSException
to a Spring runtimeJmsException
equivalent.static JmsException
JmsUtils.convertJmsAccessException
(JMSException ex) Convert the specified checkedJMSException
to a Spring runtimeJmsException
equivalent. -
Uses of JmsException in org.springframework.jms.support.converter
Modifier and TypeClassDescriptionclass
Thrown byMessageConverter
implementations when the conversion of an object to/from aMessage
fails. -
Uses of JmsException in org.springframework.jms.support.destination
Modifier and TypeClassDescriptionclass
Thrown by a DestinationResolver when it cannot resolve a destination name.