Spring Integration

org.springframework.integration.history
Class MessageHistoryWriter

java.lang.Object
  extended by org.springframework.integration.history.MessageHistoryWriter
All Implemented Interfaces:
BeanFactoryAware, InitializingBean

public class MessageHistoryWriter
extends Object
implements BeanFactoryAware, InitializingBean

This component is responsible for maintaining the history of MessageChannels and MessageHandlers. There can only be one instance of this class per ApplicationContext hierarchy otherwise an Exception will be thrown.

Since:
2.0
Author:
Oleg Zhurakousky

Constructor Summary
MessageHistoryWriter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void writeHistory(NamedComponent component, MessageHistory history)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHistoryWriter

public MessageHistoryWriter()
Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

writeHistory

public void writeHistory(NamedComponent component,
                         MessageHistory history)

Spring Integration

Copyright © 2010. All Rights Reserved.