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

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
AbstractMessageExchangeHandler, DefaultMessageExchangeHandler, InOutProviderMessageExchangeHandler, Jbi4EjbMessageExchangeHandler

public interface MessageExchangeHandler
extends java.lang.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:
Sun Microsystems, Inc.

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()
command interface method which will be invoked to process the MessageExchange object set using setMessageExchange.



Copyright © 2007-2008 Imola Informatica. All Rights Reserved.