org.ow2.petals.se.eip.patterns
Interface RouterEngine

All Known Implementing Classes:
OperationRouterEngine, XPathRouterEngine

public interface RouterEngine

Helper to route
TODO use the XSLTUtil instead of create a XPath engine on each call

Author:
Frederic Gardes

Method Summary
 int route(java.util.List<java.lang.String> parameters, org.ow2.petals.component.framework.api.message.Exchange exchange)
          Get the index of the routed Consumes.
 

Method Detail

route

int route(java.util.List<java.lang.String> parameters,
          org.ow2.petals.component.framework.api.message.Exchange exchange)
          throws javax.xml.xpath.XPathExpressionException,
                 org.ow2.petals.component.framework.api.exception.PEtALSCDKException,
                 javax.jbi.messaging.MessagingException
Get the index of the routed Consumes.

Parameters:
parameters -
inMessage -
Returns:
Throws:
javax.xml.xpath.XPathExpressionException
org.ow2.petals.component.framework.api.exception.PEtALSCDKException
javax.jbi.messaging.MessagingException


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