org.springframework.integration.message
Class AdviceMessage
java.lang.Object
org.springframework.integration.message.GenericMessage<java.lang.Object>
org.springframework.integration.message.AdviceMessage
- All Implemented Interfaces:
- java.io.Serializable, Message<java.lang.Object>
public class AdviceMessage
- extends GenericMessage<java.lang.Object>
A message implementation that is produced by an advice after
successful message handling.
Contains the result of the expression evaluation in the payload
and the original message that the advice passed to the
handler.
.
- Since:
- 2.2
- Author:
- Gary Russell
- See Also:
- Serialized Form
Constructor Summary |
AdviceMessage(java.lang.Object payload,
java.util.Map<java.lang.String,java.lang.Object> headers,
Message<?> inputMessage)
|
AdviceMessage(java.lang.Object payload,
Message<?> inputMessage)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AdviceMessage
public AdviceMessage(java.lang.Object payload,
Message<?> inputMessage)
AdviceMessage
public AdviceMessage(java.lang.Object payload,
java.util.Map<java.lang.String,java.lang.Object> headers,
Message<?> inputMessage)
getInputMessage
public Message<?> getInputMessage()