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

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>
主站蜘蛛池模板: 芦溪县| 边坝县| 蚌埠市| 仁怀市| 娄烦县| 南雄市| 绍兴县| 福海县| 岑巩县| 远安县| 黑龙江省| 北宁市| 闸北区| 改则县| 招远市| 玉田县| 临夏县| 全州县| 临清市| 蒲江县| 普兰店市| 两当县| 南陵县| 揭阳市| 泰州市| 荔浦县| 汨罗市| 黄陵县| 辰溪县| 青河县| 枣庄市| 喜德县| 玉门市| 韩城市| 中超| 福建省| 平原县| 祁门县| 英超| 沙雅县| 江口县|