类的使用
org.springframework.messaging.MessagingException
使用MessagingException的程序包 程序包 说明 org.springframework.jms.core Core package of the JMS support.org.springframework.messaging Support for working with messaging APIs and protocols.org.springframework.messaging.converter Provides support for message conversion.org.springframework.messaging.core Defines interfaces and implementation classes for messaging templates.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.messaging.handler.invocation Common infrastructure for invoking message handler methods.org.springframework.messaging.handler.invocation.reactive Common infrastructure for invoking message handler methods with non-blocking, and reactive contracts.org.springframework.messaging.simp Generic support for Simple Messaging Protocols including protocols such as STOMP.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e. destinations that are unique to a user's sessions), primarily translating the destinations and then forwarding the updated message to the broker.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.jms.core中MessagingException的使用
返回MessagingException的org.springframework.jms.core中的方法 修饰符和类型 方法 说明 protected MessagingExceptionJmsMessagingTemplate. convertJmsException(JmsException ex)抛出MessagingException的org.springframework.jms.core中的方法 修饰符和类型 方法 说明 voidJmsMessageOperations. 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.voidJmsMessageOperations. 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.voidJmsMessageOperations. 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.voidJmsMessageOperations. 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.voidJmsMessagingTemplate. convertAndSend(Object payload)voidJmsMessagingTemplate. convertAndSend(Object payload, MessagePostProcessor postProcessor)voidJmsMessagingTemplate. convertAndSend(String destinationName, Object payload)voidJmsMessagingTemplate. convertAndSend(String destinationName, Object payload, Map<String,Object> headers)voidJmsMessagingTemplate. convertAndSend(String destinationName, Object payload, Map<String,Object> headers, MessagePostProcessor postProcessor)voidJmsMessagingTemplate. convertAndSend(String destinationName, Object payload, MessagePostProcessor postProcessor)<T> TJmsMessageOperations. convertSendAndReceive(String destinationName, 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> TJmsMessageOperations. 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 resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> TJmsMessageOperations. 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 aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TJmsMessageOperations. 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TJmsMessagingTemplate. convertSendAndReceive(String destinationName, Object request, Class<T> targetClass)<T> TJmsMessagingTemplate. convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor)<T> TJmsMessagingTemplate. convertSendAndReceive(String destinationName, Object request, Map<String,Object> headers, Class<T> targetClass)Message<?>JmsMessageOperations. receive(String destinationName)Receive a message from the given destination.Message<?>JmsMessagingTemplate. receive(String destinationName)<T> TJmsMessageOperations. receiveAndConvert(String destinationName, Class<T> targetClass)Receive a message from the given destination and convert its payload to the specified target class.<T> TJmsMessagingTemplate. receiveAndConvert(String destinationName, Class<T> targetClass)voidJmsMessageOperations. send(String destinationName, Message<?> message)Send a message to the given destination.voidJmsMessagingTemplate. send(String destinationName, Message<?> message)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)org.springframework.messaging中MessagingException的使用
org.springframework.messaging中MessagingException的子类 修饰符和类型 类 说明 classMessageDeliveryExceptionException that indicates an error occurred during message delivery.classMessageHandlingExceptionException that indicates an error occurred during message handling.抛出MessagingException的org.springframework.messaging中的方法 修饰符和类型 方法 说明 voidMessageHandler. handleMessage(Message<?> message)Handle the given message.org.springframework.messaging.converter中MessagingException的使用
org.springframework.messaging.converter中MessagingException的子类 修饰符和类型 类 说明 classMessageConversionExceptionAn exception raised byMessageConverterimplementations.org.springframework.messaging.core中MessagingException的使用
org.springframework.messaging.core中MessagingException的子类 修饰符和类型 类 说明 classDestinationResolutionExceptionThrown by aDestinationResolverwhen it cannot resolve a destination.抛出MessagingException的org.springframework.messaging.core中的方法 修饰符和类型 方法 说明 voidAbstractMessageSendingTemplate. convertAndSend(D destination, Object payload)voidAbstractMessageSendingTemplate. convertAndSend(D destination, Object payload, Map<String,Object> headers)voidAbstractMessageSendingTemplate. convertAndSend(D destination, Object payload, Map<String,Object> headers, MessagePostProcessor postProcessor)voidAbstractMessageSendingTemplate. convertAndSend(D destination, Object payload, MessagePostProcessor postProcessor)voidAbstractMessageSendingTemplate. convertAndSend(Object payload)voidAbstractMessageSendingTemplate. convertAndSend(Object payload, 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, 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, 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> voidDestinationResolvingMessageSendingOperations. 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.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, 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, 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.voidMessageSendingOperations. 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.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, 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> 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> TDestinationResolvingMessageRequestReplyOperations. 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> TDestinationResolvingMessageRequestReplyOperations. 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> TDestinationResolvingMessageRequestReplyOperations. 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> 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> 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> TMessageRequestReplyOperations. 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 aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations. 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 resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> 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> TMessageRequestReplyOperations. 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 resultingMessageto a default destination, receive the reply and convert its body of the given target class.Message<?>DestinationResolvingMessageReceivingOperations. receive(String destinationName)Resolve the given destination name and receive a message from it.Message<?>MessageReceivingOperations. receive()Receive a message from a default destination.Message<?>MessageReceivingOperations. receive(D destination)Receive a message from the given destination.<T> 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> TMessageReceivingOperations. receiveAndConvert(D destination, Class<T> targetClass)Receive a message from the given destination and convert its payload to the specified target class.<T> TMessageReceivingOperations. receiveAndConvert(Class<T> targetClass)Receive a message from a default destination and convert its payload to the specified target class.voidDestinationResolvingMessageSendingOperations. send(String destinationName, Message<?> message)Resolve the given destination name to a destination and send a message to it.voidMessageSendingOperations. send(D destination, Message<?> message)Send a message to the given destination.voidMessageSendingOperations. send(Message<?> message)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.org.springframework.messaging.handler.annotation.support中MessagingException的使用
org.springframework.messaging.handler.annotation.support中MessagingException的子类 修饰符和类型 类 说明 classMethodArgumentNotValidExceptionException to be thrown when a method argument fails validation perhaps as a result of@Validstyle validation, or perhaps because it is required.classMethodArgumentTypeMismatchExceptionException that indicates that a method argument has not the expected type.org.springframework.messaging.handler.invocation中MessagingException的使用
org.springframework.messaging.handler.invocation中MessagingException的子类 修饰符和类型 类 说明 classMethodArgumentResolutionExceptionCommon exception resulting from the invocation ofHandlerMethodArgumentResolver.抛出MessagingException的org.springframework.messaging.handler.invocation中的方法 修饰符和类型 方法 说明 voidAbstractMethodMessageHandler. handleMessage(Message<?> message)org.springframework.messaging.handler.invocation.reactive中MessagingException的使用
抛出MessagingException的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>AbstractMethodMessageHandler. handleMessage(Message<?> message)org.springframework.messaging.simp中MessagingException的使用
抛出MessagingException的org.springframework.messaging.simp中的方法 修饰符和类型 方法 说明 voidSimpMessageSendingOperations. convertAndSendToUser(String user, String destination, Object payload)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, Map<String,Object> headers, MessagePostProcessor postProcessor)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, Map<String,Object> headers)voidSimpMessagingTemplate. convertAndSendToUser(String user, String destination, Object payload, Map<String,Object> headers, MessagePostProcessor postProcessor)voidSimpMessagingTemplate. convertAndSendToUser(String user, String destination, Object payload, MessagePostProcessor postProcessor)org.springframework.messaging.simp.annotation.support中MessagingException的使用
org.springframework.messaging.simp.annotation.support中MessagingException的子类 修饰符和类型 类 说明 classMissingSessionUserExceptionMessagingExceptionthrown when a session is missing.org.springframework.messaging.simp.user中MessagingException的使用
抛出MessagingException的org.springframework.messaging.simp.user中的方法 修饰符和类型 方法 说明 voidUserDestinationMessageHandler. handleMessage(Message<?> message)voidUserRegistryMessageHandler. handleMessage(Message<?> message)org.springframework.web.socket.messaging中MessagingException的使用
抛出MessagingException的org.springframework.web.socket.messaging中的方法 修饰符和类型 方法 说明 voidSubProtocolWebSocketHandler. handleMessage(Message<?> message)Handle an outbound Spring Message to a WebSocket client.