Spring Integration

org.springframework.integration.message
Class AdviceMessage

java.lang.Object
  extended by org.springframework.integration.message.GenericMessage<java.lang.Object>
      extended by 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)
           
 
Method Summary
 Message<?> getInputMessage()
           
 
Methods inherited from class org.springframework.integration.message.GenericMessage
equals, getHeaders, getPayload, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getInputMessage

public Message<?> getInputMessage()

Spring Integration