Uses of Class
org.springframework.messaging.MessagingException
Package
Description
Core package of the JMS support.
Support for working with messaging APIs and protocols.
Provides support for message conversion.
Defines interfaces and implementation classes for messaging templates.
Support classes for working with annotated message-handling methods.
Common infrastructure for invoking message handler methods.
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Generic support for Simple Messaging Protocols including protocols such as STOMP.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Support for handling messages to "user" destinations (i.e.
WebSocket integration for Spring's messaging module.
-
Uses of MessagingException in org.springframework.jms.core
Modifier and TypeMethodDescriptionprotected MessagingException
JmsMessagingTemplate.convertJmsException
(JmsException ex) Modifier and TypeMethodDescriptionvoid
JmsMessageOperations.convertAndSend
(String destinationName, Object payload) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message and send it to the given destination.void
JmsMessageOperations.convertAndSend
(String destinationName, Object payload, Map<String, Object> headers) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers and send it to the given destination.void
JmsMessageOperations.convertAndSend
(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination.void
JmsMessageOperations.convertAndSend
(String destinationName, Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message, apply the given post processor, and send the resulting message to the given destination.void
JmsMessagingTemplate.convertAndSend
(Object payload) void
JmsMessagingTemplate.convertAndSend
(Object payload, MessagePostProcessor postProcessor) void
JmsMessagingTemplate.convertAndSend
(String destinationName, Object payload) void
JmsMessagingTemplate.convertAndSend
(String destinationName, Object payload, Map<String, Object> headers) void
JmsMessagingTemplate.convertAndSend
(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) void
JmsMessagingTemplate.convertAndSend
(String destinationName, Object payload, MessagePostProcessor postProcessor) <T> T
JmsMessageOperations.convertSendAndReceive
(String destinationName, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter
, send it as aMessage
to the given destination, receive the reply and convert its body of the specified target class.<T> T
JmsMessageOperations.convertSendAndReceive
(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter
, 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.<T> T
JmsMessageOperations.convertSendAndReceive
(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter
, send it as aMessage
with the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> T
JmsMessageOperations.convertSendAndReceive
(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter
, 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.<T> T
JmsMessagingTemplate.convertSendAndReceive
(String destinationName, Object request, Class<T> targetClass) <T> T
JmsMessagingTemplate.convertSendAndReceive
(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) <T> T
JmsMessagingTemplate.convertSendAndReceive
(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Message<?>
Receive a message from the given destination.Message<?>
<T> T
JmsMessageOperations.receiveAndConvert
(String destinationName, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> T
JmsMessagingTemplate.receiveAndConvert
(String destinationName, Class<T> targetClass) void
Send a message to the given destination.void
Message<?>
JmsMessageOperations.sendAndReceive
(String destinationName, Message<?> requestMessage) Send a request message and receive the reply from the given destination.Message<?>
JmsMessagingTemplate.sendAndReceive
(String destinationName, Message<?> requestMessage) -
Uses of MessagingException in org.springframework.messaging
Modifier and TypeClassDescriptionclass
Exception that indicates an error occurred during message delivery.class
Exception that indicates an error occurred during message handling.Modifier and TypeMethodDescriptionvoid
MessageHandler.handleMessage
(Message<?> message) Handle the given message. -
Uses of MessagingException in org.springframework.messaging.converter
-
Uses of MessagingException in org.springframework.messaging.core
Modifier and TypeClassDescriptionclass
Thrown by aDestinationResolver
when it cannot resolve a destination.Modifier and TypeMethodDescriptionvoid
AbstractMessageSendingTemplate.convertAndSend
(D destination, Object payload) void
AbstractMessageSendingTemplate.convertAndSend
(D destination, Object payload, Map<String, Object> headers) void
AbstractMessageSendingTemplate.convertAndSend
(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) void
AbstractMessageSendingTemplate.convertAndSend
(D destination, Object payload, MessagePostProcessor postProcessor) void
AbstractMessageSendingTemplate.convertAndSend
(Object payload) void
AbstractMessageSendingTemplate.convertAndSend
(Object payload, MessagePostProcessor postProcessor) <T> void
DestinationResolvingMessageSendingOperations.convertAndSend
(String destinationName, T payload) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter
, wrap it as a message and send it to the resolved destination.<T> void
DestinationResolvingMessageSendingOperations.convertAndSend
(String destinationName, T payload, Map<String, Object> headers) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers and send it to the resolved destination.<T> void
DestinationResolvingMessageSendingOperations.convertAndSend
(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the resolved destination.<T> void
DestinationResolvingMessageSendingOperations.convertAndSend
(String destinationName, T payload, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter
, wrap it as a message, apply the given post processor, and send the resulting message to the resolved destination.void
MessageSendingOperations.convertAndSend
(D destination, Object payload) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message and send it to the given destination.void
Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers and send it to the given destination.void
MessageSendingOperations.convertAndSend
(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination.void
MessageSendingOperations.convertAndSend
(D destination, Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message, apply the given post processor, and send the resulting message to the given destination.void
MessageSendingOperations.convertAndSend
(Object payload) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message and send it to a default destination.void
MessageSendingOperations.convertAndSend
(Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter
, wrap it as a message, apply the given post processor, and send the resulting message to a default destination.<T> T
DestinationResolvingMessageRequestReplyOperations.convertSendAndReceive
(String destinationName, Object request, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter
, wrap it as a message and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> T
DestinationResolvingMessageRequestReplyOperations.convertSendAndReceive
(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter
, wrap it as a message, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> T
DestinationResolvingMessageRequestReplyOperations.convertSendAndReceive
(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> T
DestinationResolvingMessageRequestReplyOperations.convertSendAndReceive
(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter
, wrap it as a message with the given headers, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> T
MessageRequestReplyOperations.convertSendAndReceive
(D destination, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter
, send it as aMessage
to the given destination, receive the reply and convert its body of the specified target class.<T> T
MessageRequestReplyOperations.convertSendAndReceive
(D destination, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter
, 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.<T> T
MessageRequestReplyOperations.convertSendAndReceive
(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter
, send it as aMessage
with the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> T
MessageRequestReplyOperations.convertSendAndReceive
(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter
, 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.<T> T
MessageRequestReplyOperations.convertSendAndReceive
(Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter
, send it as aMessage
to a default destination, receive the reply and convert its body of the specified target class.<T> T
MessageRequestReplyOperations.convertSendAndReceive
(Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter
, apply the given post processor and send the resultingMessage
to a default destination, receive the reply and convert its body of the given target class.Message<?>
Resolve the given destination name and receive a message from it.Message<?>
MessageReceivingOperations.receive()
Receive a message from a default destination.Message<?>
Receive a message from the given destination.<T> T
DestinationResolvingMessageReceivingOperations.receiveAndConvert
(String destinationName, Class<T> targetClass) Resolve the given destination name, receive a message from it, convert the payload to the specified target type.<T> T
MessageReceivingOperations.receiveAndConvert
(D destination, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> T
MessageReceivingOperations.receiveAndConvert
(Class<T> targetClass) Receive a message from a default destination and convert its payload to the specified target class.void
Resolve the given destination name to a destination and send a message to it.void
Send a message to the given destination.void
Send a message to a default destination.Message<?>
DestinationResolvingMessageRequestReplyOperations.sendAndReceive
(String destinationName, Message<?> requestMessage) Resolve the given destination name to a destination and send the given message, receive a reply and return it.Message<?>
MessageRequestReplyOperations.sendAndReceive
(D destination, Message<?> requestMessage) Send a request message and receive the reply from the given destination.Message<?>
MessageRequestReplyOperations.sendAndReceive
(Message<?> requestMessage) Send a request message and receive the reply from a default destination. -
Uses of MessagingException in org.springframework.messaging.handler.annotation.support
Modifier and TypeClassDescriptionclass
Exception to be thrown when a method argument fails validation perhaps as a result of@Valid
style validation, or perhaps because it is required.class
Exception that indicates that a method argument has not the expected type. -
Uses of MessagingException in org.springframework.messaging.handler.invocation
Modifier and TypeClassDescriptionclass
Common exception resulting from the invocation ofHandlerMethodArgumentResolver
.Modifier and TypeMethodDescriptionvoid
AbstractMethodMessageHandler.handleMessage
(Message<?> message) -
Uses of MessagingException in org.springframework.messaging.handler.invocation.reactive
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
AbstractMethodMessageHandler.handleMessage
(Message<?> message) -
Uses of MessagingException in org.springframework.messaging.simp
Modifier and TypeMethodDescriptionvoid
SimpMessageSendingOperations.convertAndSendToUser
(String user, String destination, Object payload) Send a message to the given user.void
SimpMessageSendingOperations.convertAndSendToUser
(String user, String destination, Object payload, Map<String, Object> headers) Send a message to the given user.void
SimpMessageSendingOperations.convertAndSendToUser
(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Send a message to the given user.void
SimpMessageSendingOperations.convertAndSendToUser
(String user, String destination, Object payload, MessagePostProcessor postProcessor) Send a message to the given user.void
SimpMessagingTemplate.convertAndSendToUser
(String user, String destination, Object payload) void
SimpMessagingTemplate.convertAndSendToUser
(String user, String destination, Object payload, Map<String, Object> headers) void
SimpMessagingTemplate.convertAndSendToUser
(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) void
SimpMessagingTemplate.convertAndSendToUser
(String user, String destination, Object payload, MessagePostProcessor postProcessor) -
Uses of MessagingException in org.springframework.messaging.simp.annotation.support
-
Uses of MessagingException in org.springframework.messaging.simp.user
Modifier and TypeMethodDescriptionvoid
UserDestinationMessageHandler.handleMessage
(Message<?> sourceMessage) void
UserRegistryMessageHandler.handleMessage
(Message<?> message) -
Uses of MessagingException in org.springframework.web.socket.messaging
Modifier and TypeMethodDescriptionvoid
SubProtocolWebSocketHandler.handleMessage
(Message<?> message) Handle an outbound Spring Message to a WebSocket client.