org.axonframework.integration.eventbus
Class MessageHandlerAdapter

java.lang.Object
  extended by org.axonframework.integration.eventbus.MessageHandlerAdapter
All Implemented Interfaces:
org.springframework.integration.core.MessageHandler

public class MessageHandlerAdapter
extends Object
implements org.springframework.integration.core.MessageHandler

Adapter that allows an EventListener to be registered as a Spring Integration MessageHandler.

Since:
0.1
Author:
Allard Buijze

Constructor Summary
MessageHandlerAdapter(EventListener eventListener)
          Initialize an adapter for the given eventListener.
 
Method Summary
 void handleMessage(org.springframework.integration.Message<?> message)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHandlerAdapter

public MessageHandlerAdapter(EventListener eventListener)
Initialize an adapter for the given eventListener.

Parameters:
eventListener - the event listener to adapt
Method Detail

handleMessage

public void handleMessage(org.springframework.integration.Message<?> message)

Specified by:
handleMessage in interface org.springframework.integration.core.MessageHandler


Copyright © 2010-2016. All Rights Reserved.