|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.mediators.eip.EIPUtils
public class EIPUtils
Utility methods for the EIP mediators
| Constructor Summary | |
|---|---|
EIPUtils()
|
|
| Method Summary | |
|---|---|
static void |
createSynapseEIPTemplateProperty(MessageContext synCtxt,
String templateName,
String paramName,
Object value)
|
static void |
enrichEnvelope(SOAPEnvelope envelope,
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<OMNode> |
getDetachedMatchingElements(SOAPEnvelope envelope,
MessageContext synCtxt,
SynapseXPath expression)
Return the set of detached elements specified by the XPath over the given envelope |
static List |
getMatchingElements(SOAPEnvelope envelope,
MessageContext synCtxt,
SynapseXPath expression)
Return the set of elements specified by the XPath over the given envelope |
static List |
getMatchingElements(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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EIPUtils()
| Method Detail |
|---|
public static List getMatchingElements(SOAPEnvelope envelope,
SynapseXPath expression)
throws JaxenException
envelope - SOAPEnvelope from which the elements will be extractedexpression - SynapseXPath expression describing the elements to be extracted
JaxenException - if the XPath expression evaluation fails
public static List getMatchingElements(SOAPEnvelope envelope,
MessageContext synCtxt,
SynapseXPath expression)
throws JaxenException
envelope - SOAPEnvelope from which the elements will be extractedexpression - SynapseXPath expression describing the elements to be extracted
JaxenException - if the XPath expression evaluation fails
public static List<OMNode> getDetachedMatchingElements(SOAPEnvelope envelope,
MessageContext synCtxt,
SynapseXPath expression)
throws JaxenException
envelope - SOAPEnvelope from which the elements will be extractedexpression - SynapseXPath expression describing the elements to be extracted
JaxenException - if the XPath expression evaluation fails
public static void enrichEnvelope(SOAPEnvelope envelope,
SOAPEnvelope enricher,
MessageContext synCtxt,
SynapseXPath expression)
throws JaxenException
envelope - SOAPEnvelope to be enriched with the contentenricher - SOAPEnvelope from which the enriching element will be extractedexpression - SynapseXPath describing the enriching element
JaxenException - on failing of processing the xpath
public static String getTemplatePropertyMapping(String templateName,
String parameter)
public static void createSynapseEIPTemplateProperty(MessageContext synCtxt,
String templateName,
String paramName,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||