org.springframework.integration.event
Class ApplicationEventPublishingMessageHandler<T>
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.event.ApplicationEventPublishingMessageHandler<T>
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationEventPublisherAware, Ordered, NamedComponent, MessageHandler, TrackableComponent
public class ApplicationEventPublishingMessageHandler<T>
- extends AbstractMessageHandler
- implements ApplicationEventPublisherAware
A MessageHandler that publishes each Message it receives as
a MessagingEvent. The MessagingEvent is a subclass of
Spring's ApplicationEvent used by this adapter to simply wrap the
Message.
- Author:
- Mark Fisher
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
ApplicationEventPublishingMessageHandler
public ApplicationEventPublishingMessageHandler()
setApplicationEventPublisher
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
- Specified by:
setApplicationEventPublisher in interface ApplicationEventPublisherAware
handleMessageInternal
protected void handleMessageInternal(Message<?> message)
- Specified by:
handleMessageInternal in class AbstractMessageHandler
Copyright © 2010. All Rights Reserved.