org.ow2.petals.se.eip.patterns
Class OperationRouterEngine

java.lang.Object
  extended by org.ow2.petals.se.eip.patterns.OperationRouterEngine
All Implemented Interfaces:
RouterEngine

public class OperationRouterEngine
extends java.lang.Object
implements RouterEngine

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

Author:
fgardes - EBM Websourcing

Constructor Summary
OperationRouterEngine()
           
 
Method Summary
 java.util.List<java.lang.String> getOperationParameters(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
           
 int route(java.util.List<java.lang.String> conditions, org.ow2.petals.component.framework.api.message.Exchange exchange)
          Get the index of the routed Consumes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationRouterEngine

public OperationRouterEngine()
Method Detail

getOperationParameters

public java.util.List<java.lang.String> getOperationParameters(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Parameters:
extensions -
Returns:

route

public int route(java.util.List<java.lang.String> conditions,
                 org.ow2.petals.component.framework.api.message.Exchange exchange)
          throws javax.xml.xpath.XPathExpressionException
Description copied from interface: RouterEngine
Get the index of the routed Consumes.

Specified by:
route in interface RouterEngine
Parameters:
conditions -
inMessage -
Returns:
Throws:
javax.xml.xpath.XPathExpressionException


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