it.imolinfo.jbi4ejb.processor
Class ProviderExchangeProcessor

java.lang.Object
  extended by it.imolinfo.jbi4ejb.processor.ProviderExchangeProcessor
All Implemented Interfaces:
ExchangeProcessor

public class ProviderExchangeProcessor
extends java.lang.Object
implements ExchangeProcessor

The Class ProviderExchangeProcessor.

Author:
Marco Piraccini

Constructor Summary
ProviderExchangeProcessor(Jbi4EjbProviderEndpoint endpoint)
          Instantiates a new provider exchange processor.
 
Method Summary
protected  boolean isInAndOut(javax.jbi.messaging.MessageExchange exchange)
          Checks if the message is InOut.
 void process(javax.jbi.messaging.MessageExchange exchange)
          Process the message exchange.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderExchangeProcessor

public ProviderExchangeProcessor(Jbi4EjbProviderEndpoint endpoint)
                          throws Jbi4EjbException
Instantiates a new provider exchange processor.

Parameters:
endpoint - the endpoint managed
Throws:
Jbi4EjbException - if some problem occurs in creation
Method Detail

process

public void process(javax.jbi.messaging.MessageExchange exchange)
Process the message exchange.

Specified by:
process in interface ExchangeProcessor
Parameters:
exchange - the message exchange

isInAndOut

protected boolean isInAndOut(javax.jbi.messaging.MessageExchange exchange)
Checks if the message is InOut.

Parameters:
exchange - the message exchange
Returns:
true, if is in and out


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