org.springframework.integration.history
Class HistoryWritingMessagePostProcessor

java.lang.Object
  extended by org.springframework.integration.history.HistoryWritingMessagePostProcessor
All Implemented Interfaces:
MessagePostProcessor

public class HistoryWritingMessagePostProcessor
extends java.lang.Object
implements MessagePostProcessor

Since:
2.0

Constructor Summary
HistoryWritingMessagePostProcessor()
           
HistoryWritingMessagePostProcessor(TrackableComponent trackableComponent)
           
 
Method Summary
 Message<?> postProcessMessage(Message<?> message)
          Apply a MessagePostProcessor to the message.
 void setShouldTrack(boolean shouldTrack)
           
 void setTrackableComponent(TrackableComponent trackableComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryWritingMessagePostProcessor

public HistoryWritingMessagePostProcessor()

HistoryWritingMessagePostProcessor

public HistoryWritingMessagePostProcessor(TrackableComponent trackableComponent)
Method Detail

setTrackableComponent

public void setTrackableComponent(TrackableComponent trackableComponent)

setShouldTrack

public void setShouldTrack(boolean shouldTrack)

postProcessMessage

public Message<?> postProcessMessage(Message<?> message)
Description copied from interface: MessagePostProcessor
Apply a MessagePostProcessor to the message. The returned message is typically a modified version of the original.

Specified by:
postProcessMessage in interface MessagePostProcessor
Parameters:
message - the message returned from the MessageConverter
Returns:
the modified version of the Message