it.imolinfo.jbi4corba.jbi.component.runtime
Interface MessageExchangeHandler

All Superinterfaces:
Runnable
All Known Implementing Classes:
AbstractMessageExchangeHandler, DefaultMessageExchangeHandler, Jbi4CorbaMessageExchangeHandler

public interface MessageExchangeHandler
extends Runnable

This interface is a Handler to perform message exchanges when the component receives the MessageExchange object from the delivery channel. Implemenation of this interface should implement the processing of the active, error, done status of the MessageExchange object according to the MEP for which the MessageExchange object is created.

Author:
Marco Piraccini

Method Summary
 void processMessageExchange()
          command interface method which will be invoked to process the MessageExchange object set using setMessageExchange.
 void setMessageExchange(javax.jbi.messaging.MessageExchange msgExchange)
          sets the MessageExchange object to be processed
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

setMessageExchange

void setMessageExchange(javax.jbi.messaging.MessageExchange msgExchange)
sets the MessageExchange object to be processed

Parameters:
msgExchange - MessageExchange object.

processMessageExchange

void processMessageExchange()
                            throws Exception
command interface method which will be invoked to process the MessageExchange object set using setMessageExchange.

Throws:
Exception


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.