org.jboss.soa.esb.listeners.gateway.mina
Interface MessageHandler

All Superinterfaces:
org.apache.mina.common.IoHandler
All Known Implementing Classes:
DefaultMessageHandler

public interface MessageHandler
extends org.apache.mina.common.IoHandler

A Message handler is responsible for recieving the MINA message and packaging the message payload into a ESB Message object, and dispatching to the target service in the ESB.

Author:
tom.fennelly@jboss.com, Daniel Bevenius

Method Summary
 void setServiceInvoker(ServiceInvoker invoker)
          Set the ServiceInoker instance to be used to dispatch messages to the ESB Service
 
Methods inherited from interface org.apache.mina.common.IoHandler
exceptionCaught, messageReceived, messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened
 

Method Detail

setServiceInvoker

void setServiceInvoker(ServiceInvoker invoker)
Set the ServiceInoker instance to be used to dispatch messages to the ESB Service

Parameters:
invoker - The ServiceInvoker instance.