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

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>
主站蜘蛛池模板: 怀安县| 洛宁县| 湘乡市| 巴彦淖尔市| 顺平县| 讷河市| 连云港市| 乐清市| 吴忠市| 谢通门县| 叶城县| 专栏| 普洱| 临颍县| 桐城市| 安新县| 大方县| 徐闻县| 来安县| 永寿县| 奉节县| 顺昌县| 福泉市| 乌拉特中旗| 青神县| 太保市| 民权县| 北碚区| 南康市| 察哈| 临颍县| 镇远县| 霍城县| 柳江县| 浮山县| 车险| 河北省| 文水县| 满洲里市| 柳河县| 集贤县|