org.springframework.integration.history
Class MessageHistoryWriter
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageHistoryWriter
public MessageHistoryWriter()
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)
Copyright © 2010. All Rights Reserved.