Uses of Class
org.springframework.messaging.MessagingException
Packages that use MessagingException
Package
Description
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.
-
Uses of MessagingException in org.springframework.messaging
Subclasses of MessagingException in org.springframework.messagingModifier and TypeClassDescriptionclassException that indicates an error occurred during message delivery.classException that indicates an error occurred during message handling.Methods in org.springframework.messaging that throw MessagingExceptionModifier and TypeMethodDescriptionvoidMessageHandler.handleMessage(Message<?> message) Handle the given message. -
Uses of MessagingException in org.springframework.messaging.converter
Subclasses of MessagingException in org.springframework.messaging.converter -
Uses of MessagingException in org.springframework.messaging.core
Subclasses of MessagingException in org.springframework.messaging.coreModifier and TypeClassDescriptionclassThrown by aDestinationResolverwhen it cannot resolve a destination.Methods in org.springframework.messaging.core that throw MessagingExceptionModifier and TypeMethodDescription<T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, @Nullable Map<String, Object> headers) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, @Nullable Map<String, Object> headers) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(Object payload) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, Map<String, Object> headers) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, @Nullable MessagePostProcessor postProcessor) <T> voidDestinationResolvingMessageSendingOperations.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> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, @Nullable 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> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, @Nullable Map<String, Object> headers, @Nullable 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> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, @Nullable 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.voidMessageSendingOperations.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.voidMessageSendingOperations.convertAndSend(D destination, Object payload, @Nullable 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.voidMessageSendingOperations.convertAndSend(D destination, Object payload, @Nullable Map<String, Object> headers, @Nullable 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.voidMessageSendingOperations.convertAndSend(D destination, Object payload, @Nullable 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.voidMessageSendingOperations.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.voidMessageSendingOperations.convertAndSend(Object payload, @Nullable Map<String, Object> headers, @Nullable 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.voidMessageSendingOperations.convertAndSend(Object payload, Map<String, Object> headers) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message and send it to a default destination.voidMessageSendingOperations.convertAndSend(Object payload, @Nullable 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> @Nullable TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) <T> @Nullable TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass) <T> @Nullable TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass) <T> @Nullable TAbstractMessagingTemplate.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable MessagePostProcessor postProcessor) <T> @Nullable TDestinationResolvingMessageRequestReplyOperations.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> @Nullable TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, @Nullable 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> @Nullable TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, @Nullable 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> @Nullable TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto the given destination, receive the reply and convert its body of the specified target class.<T> @Nullable TMessageRequestReplyOperations.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 resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto a default destination, receive the reply and convert its body of the specified target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass, @Nullable MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto a default destination, receive the reply and convert its body of the given target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> @Nullable TMessageRequestReplyOperations.convertSendAndReceive(Object request, @Nullable Map<String, Object> headers, Class<T> targetClass, @Nullable 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.AbstractMessageReceivingTemplate.receive()Resolve the given destination name and receive a message from it.MessageReceivingOperations.receive()Receive a message from a default destination.Receive a message from the given destination.<T> @Nullable TAbstractDestinationResolvingMessagingTemplate.receiveAndConvert(String destinationName, Class<T> targetClass) <T> @Nullable TAbstractMessageReceivingTemplate.receiveAndConvert(D destination, Class<T> targetClass) <T> @Nullable TAbstractMessageReceivingTemplate.receiveAndConvert(Class<T> targetClass) <T> @Nullable TDestinationResolvingMessageReceivingOperations.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> @Nullable TMessageReceivingOperations.receiveAndConvert(D destination, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> @Nullable TMessageReceivingOperations.receiveAndConvert(Class<T> targetClass) Receive a message from a default destination and convert its payload to the specified target class.voidvoidResolve the given destination name to a destination and send a message to it.voidSend a message to the given destination.voidSend a message to a default destination.AbstractDestinationResolvingMessagingTemplate.sendAndReceive(String destinationName, Message<?> requestMessage) AbstractMessagingTemplate.sendAndReceive(D destination, Message<?> requestMessage) AbstractMessagingTemplate.sendAndReceive(Message<?> requestMessage) 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.MessageRequestReplyOperations.sendAndReceive(D destination, Message<?> requestMessage) Send a request message and receive the reply from the given destination.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 TypeClassDescriptionclassException to be thrown when a method argument fails validation perhaps as a result of@Validstyle validation, or perhaps because it is required.classException that indicates that a method argument has not the expected type. -
Uses of MessagingException in org.springframework.messaging.handler.invocation
Subclasses of MessagingException in org.springframework.messaging.handler.invocationModifier and TypeClassDescriptionclassCommon exception resulting from the invocation ofHandlerMethodArgumentResolver.Methods in org.springframework.messaging.handler.invocation that throw MessagingExceptionModifier and TypeMethodDescriptionvoidAbstractMethodMessageHandler.handleMessage(Message<?> message) -
Uses of MessagingException in org.springframework.messaging.handler.invocation.reactive
Methods in org.springframework.messaging.handler.invocation.reactive that throw MessagingExceptionModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void> AbstractMethodMessageHandler.handleMessage(Message<?> message) -
Uses of MessagingException in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp that throw MessagingExceptionModifier and TypeMethodDescriptionvoidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload) Send a message to the given user.voidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers) Send a message to the given user.voidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, @Nullable Map<String, Object> headers) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, @Nullable MessagePostProcessor postProcessor) -
Uses of MessagingException in org.springframework.messaging.simp.annotation.support
Subclasses of MessagingException in org.springframework.messaging.simp.annotation.support -
Uses of MessagingException in org.springframework.messaging.simp.user
Methods in org.springframework.messaging.simp.user that throw MessagingExceptionModifier and TypeMethodDescriptionvoidUserDestinationMessageHandler.handleMessage(Message<?> sourceMessage) voidUserRegistryMessageHandler.handleMessage(Message<?> message)