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