public class EIPUtils extends Object
| Constructor and Description |
|---|
EIPUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createSynapseEIPTemplateProperty(MessageContext synCtxt,
String templateName,
String paramName,
Object value) |
static void |
enrichEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPEnvelope enricher,
MessageContext synCtxt,
SynapseXPath expression)
Merge two SOAP envelopes using the given XPath expression that specifies the
element that enriches the first envelope from the second
|
static List<org.apache.axiom.om.OMNode> |
getDetachedMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope,
MessageContext synCtxt,
SynapseXPath expression)
Return the set of detached elements specified by the XPath over the given envelope
|
static List |
getMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope,
MessageContext synCtxt,
SynapseXPath expression)
Return the set of elements specified by the XPath over the given envelope
|
static List |
getMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope,
SynapseXPath expression)
Return the set of elements specified by the XPath over the given envelope
|
static String |
getTemplatePropertyMapping(String templateName,
String parameter)
Util functions related to EIP Templates
|
public static List getMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope, SynapseXPath expression) throws org.jaxen.JaxenException
envelope - SOAPEnvelope from which the elements will be extractedexpression - SynapseXPath expression describing the elements to be extractedorg.jaxen.JaxenException - if the XPath expression evaluation failspublic static List getMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression) throws org.jaxen.JaxenException
envelope - SOAPEnvelope from which the elements will be extractedexpression - SynapseXPath expression describing the elements to be extractedorg.jaxen.JaxenException - if the XPath expression evaluation failspublic static List<org.apache.axiom.om.OMNode> getDetachedMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression) throws org.jaxen.JaxenException
envelope - SOAPEnvelope from which the elements will be extractedexpression - SynapseXPath expression describing the elements to be extractedorg.jaxen.JaxenException - if the XPath expression evaluation failspublic static void enrichEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPEnvelope enricher,
MessageContext synCtxt,
SynapseXPath expression)
throws org.jaxen.JaxenException
envelope - SOAPEnvelope to be enriched with the contentenricher - SOAPEnvelope from which the enriching element will be extractedexpression - SynapseXPath describing the enriching elementorg.jaxen.JaxenException - on failing of processing the xpathpublic static String getTemplatePropertyMapping(String templateName, String parameter)
public static void createSynapseEIPTemplateProperty(MessageContext synCtxt, String templateName, String paramName, Object value)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.