官术网_书友最值得收藏!

Main sequence

This sequence is triggered when a call to the EI server doesn't have a correct instance for an axis2 service; for example, when we make a request to the URL: http://localhost:8280/services/NonExistingService, the sequence returns a 202-accepted HTTP code and logs the incoming message to the console, unless there are one of the sample services:

<?xml version="1.0" encoding="UTF-8"?>
<sequence name="main" xmlns="http://ws.apache.org/ns/synapse">
<in>
<!-- Log all messages passing through -->
<log level="full"/>
<!-- ensure that the default configuration only sends
if it is one of samples -->
<!-- Otherwise Synapse would be an open proxy by default (BAD!) -->
<filter regex="http://localhost:9000.*"
source="get- property('To')">
<then>
<!-- Send the messages where they have been sent
(i.e. implicit "To" EPR) -->
<send/>
</then>
<else/>
</filter>
</in>
<out>
<send/>
</out>
<description>The main sequence for the message mediation</description>
</sequence>
主站蜘蛛池模板: 霍城县| 巴南区| 天长市| 山阴县| 蓝田县| 会同县| 屯留县| 德保县| 阿尔山市| 张家口市| 依兰县| 洱源县| 上虞市| 房产| 榆社县| 彭州市| 广宁县| 平昌县| 商南县| 甘德县| 陈巴尔虎旗| 阳东县| 崇州市| 寻甸| 崇义县| 蓬安县| 固阳县| 博兴县| 麻城市| 利川市| 安化县| 栾城县| 时尚| 久治县| 南宁市| 古蔺县| 磴口县| 江达县| 萍乡市| 文成县| 类乌齐县|