lantianweishi
发贴: 1
积分: 0
|
于 2008-01-27 19:11
我的配置文如下: 这是我配置文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mule-configuration PUBLIC "-//SymphonySoft //DTD mule-configuration XML V1.0//EN" "http://www.symphonysoft.com/dtds/mule/mule-configuration.dtd">
<mule-configuration id="Default" version="1.0">
<description>Default Configuration</description> <connector name="tcp" className="org.mule.samples.hello.MyTCPConnector"> <connection-strategy className="org.mule.providers.SimpleRetryConnectionStrategy"> <properties> <property name="retryCount" value="3"/> <property name="frequency" value="2000"/> </properties> </connection-strategy> </connector> <model name="simpledefault"> <mule-descriptor name="GreeterUMO" implementation="org.mule.samples.hello.HelloComponent"> <inbound-router> <endpoint address="tcp://localhost:33333" /> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="tcp://localhost:22222"/> <reply-to address="vm://aa"/> </router> </outbound-router> <response-router> <router className="org.mule.routing.response.SingleResponseRouter"> <endpoint address="vm://aa"/> </router> </response-router> </mule-descriptor> <mule-descriptor name="recUMO" implementation="org.mule.samples.hello.HelloComponent"> <inbound-router> <endpoint address="vm://aa" /> </inbound-router> <outbound-router> <router className="org.mule.samples.hello.MyRouter"> <endpoint address="tcp://localhost:22222" synchronous="true"/> </router> </outbound-router> </mule-descriptor> </model> </mule-configuration>
|