How to dynamically route message in WSO2 ESB based on XML configuration file

后端 未结 3 2041
清酒与你
清酒与你 2021-01-16 03:31

I am trying to route a message based on information in a XML snippet stored as a local entry (key=mapping_id_ep_v1.xml). The id used to look-up the correct endpoint and it

3条回答
  •  情书的邮戳
    2021-01-16 03:39

    I have got a similar situation. The problem seems to be that you cannot perform xpath expressions over a property content.

    You can easily do what you need by using a Javascript script after loading the xml into a property. Javascript+e4x offers an easy way to access to XML content of variables by xpath expressions.

提交回复
热议问题