JmsMessageOperations.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private String | |
| private MessageConverter | |
| private JmsTemplate |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JmsMessagingTemplate(ConnectionFactory connectionFactory)
Create a |
| public | JmsMessagingTemplate(JmsTemplate jmsTemplate)
Create a |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public void | convertAndSend(Object
the Object to use as payload payload)Overrides org. Implements org. Convert the given Object to serialized form, possibly using a
|
| public void | convertAndSend(Object
the Object to use as payload payload, MessagePostProcessor the post processor to apply to the message postProcessor)Overrides org. Implements org. Convert the given Object to serialized form, possibly using a
|
| public void | convertAndSend(String
the name of the target destination destinationName, Object the Object to use as payload payload)Overrides org. Implements org. Convert the given Object to serialized form, possibly using a
|
| public void | convertAndSend(String
the name of the target destination destinationName, Object the Object to use as payload payload, Map<String, Object> the headers for the message to send headers)Overrides org. Implements org. Convert the given Object to serialized form, possibly using a
|
| public void | convertAndSend(String
the name of the target destination destinationName, Object the Object to use as payload payload, MessagePostProcessor the post processor to apply to the message postProcessor)Overrides org. Implements org. Convert the given Object to serialized form, possibly using a
|
| public void | convertAndSend(String
the name of the target destination destinationName, Object the Object to use as payload payload, Map<String, Object> the headers for the message to send headers, MessagePostProcessor the post processor to apply to the message postProcessor)Overrides org. Implements org. Convert the given Object to serialized form, possibly using a
|
| protected MessagingException | |
| protected Message | |
| public <T> T | convertSendAndReceive(String
the name of the target destination destinationName, Object payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass)Overrides org. Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(Object
payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass)Overrides org. Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(String
the name of the target destination destinationName, Object payload for the request message to send request, Map<String, Object> the headers for the request message to send headers, Class<T> the target type to convert the payload of the reply to targetClass)Overrides org. Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(Object
payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass, MessagePostProcessor post process to apply to the request message postProcessor)Overrides org. Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(String
the name of the target destination destinationName, Object payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass, MessagePostProcessor post process to apply to the request message requestPostProcessor)Overrides org. Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(String
the name of the target destination destinationName, Object payload for the request message to send request, Map<String, Object> headers, Class<T> the target type to convert the payload of the reply to targetClass, MessagePostProcessor post process to apply to the request message postProcessor)Overrides org. Implements org. Convert the given request Object to serialized form, possibly using a
|
| private JmsMessagingTemplate. | |
| protected Message | doReceive(Destination
the target destination destination)Implements abstract org. Actually receive a message from the given destination. |
| protected Message | doReceive(String
the target destination destinationName)Implements abstract org. Actually receive a message from the given destination. |
| protected void | doSend(Destination destination, Message<?> message)
Implements abstract org.
|
| protected void | doSend(String destinationName, Message<?> message)
Implements abstract org.
|
| protected Message | doSendAndReceive(Destination destination, Message<?> requestMessage)
Implements abstract org.
|
| protected Message | doSendAndReceive(String destinationName, Message<?> requestMessage)
Implements abstract org.
|
| public ConnectionFactory | |
| public String | |
| public MessageConverter | getJmsMessageConverter()
Return the |
| public JmsTemplate | |
| protected String | |
| private JmsTemplate | |
| public Message | receive()
Overrides org. Implements org. Receive a message from a default destination. |
| public Message | receive(String
the name of the target destination destinationName)Overrides org. Implements org. Receive a message from the given destination. |
| public <T> T | receiveAndConvert(Class<T>
the target class to convert the payload to targetClass)Overrides org. Implements org. Receive a message from a default destination and convert its payload to the specified target class. |
| public <T> T | receiveAndConvert(String
the name of the target destination destinationName, Class<T> the target class to convert the payload to targetClass)Overrides org. Implements org. Receive a message from the given destination and convert its payload to the specified target class. |
| public void | send(Message<?>
the message to send message)Overrides org. Implements org. Send a message to a default destination. |
| public void | send(String
the name of the target destination destinationName, Message<?> the message to send message)Overrides org. Implements org. Send a message to the given destination. |
| public Message | sendAndReceive(Message<?>
the message to send requestMessage)Overrides org. Implements org. Send a request message and receive the reply from a default destination. |
| public Message | sendAndReceive(String
the name of the target destination destinationName, Message<?> the message to send requestMessage)Overrides org. Implements org. Send a request message and receive the reply from the given destination. |
| public void | setConnectionFactory(ConnectionFactory connectionFactory)
Set the ConnectionFactory to use for the underlying |
| public void | setDefaultDestinationName(String defaultDestinationName)
Configure the default destination name to use in send methods that don't have a destination argument. |
| public void | setJmsMessageConverter(MessageConverter jmsMessageConverter)
Set the |
| public void |