org.ow2.petals.jbi.messaging.routing.module
Class TransportResolverModule

java.lang.Object
  extended by org.ow2.petals.jbi.messaging.routing.module.TransportResolverModule
All Implemented Interfaces:
SenderModule

public class TransportResolverModule
extends java.lang.Object
implements SenderModule

Author:
rnaudin

Field Summary
protected  ConfigurationService configurationService
          The Topology service fractal component
protected  org.ow2.petals.util.LoggingUtil log
          Logger wrapper.
 
Constructor Summary
TransportResolverModule()
           
 
Method Summary
 void electEndpoints(java.util.Map<ServiceEndpoint,TransportSendContext> electedDestinations, ComponentContext sourceComponentContext, org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
          Elect a list of candidate endpoints to be destination of the exchange.
protected  void start()
          Start the Fractal component
protected  void stop()
          Stop the Fractal component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.ow2.petals.util.LoggingUtil log
Logger wrapper.


configurationService

protected ConfigurationService configurationService
The Topology service fractal component

Constructor Detail

TransportResolverModule

public TransportResolverModule()
Method Detail

electEndpoints

public void electEndpoints(java.util.Map<ServiceEndpoint,TransportSendContext> electedDestinations,
                           ComponentContext sourceComponentContext,
                           org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
                    throws RoutingException
Description copied from interface: SenderModule
Elect a list of candidate endpoints to be destination of the exchange.

Specified by:
electEndpoints in interface SenderModule
exchangeDecorator - the exchange decorator to send
Throws:
RoutingException

start

protected void start()
Start the Fractal component


stop

protected void stop()
             throws RoutingException
Stop the Fractal component

Throws:
RoutingException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.