Created
July 26, 2015 15:07
-
-
Save biskandar/f5ec4a5c69f0ef210432 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<simple-gateway> | |
<drivers> | |
<driver id="driverHttpSender"> | |
<properties> | |
<property name="remoteUri" value="http://remoteuri/path"/> | |
<property name="scriptFile" value="./js/driverHttpSender.js"/> | |
</properties> | |
</driver> | |
<driver id="driverHttpListener"> | |
<properties> | |
<property name="host" value="serverip"/> | |
<property name="port" value="portval"/> | |
<property name="scriptFile" value="./js/driverHttpListener.js"/> | |
</properties> | |
</driver> | |
</drivers> | |
<nodes> | |
<node id="nodeHttpSimple"> | |
<driver inbound="driverHttpListener" outbound="driverHttpSender"/> | |
<router outbound="routerHttpSimple"/> | |
</node> | |
</nodes> | |
<routers> | |
<router id="routerHttpSimple"> | |
<queue inboundSize="100" outboundSize="100" /> | |
<worker loadPerSeconds="10" threadSize="5" /> | |
<processor id="processorHttpSimple"/> | |
</router> | |
</routers> | |
<processors> | |
<processor id="processorHttpSimple"> | |
<properties> | |
<property name="map.nodeHttp" value="nodeHttp" /> | |
</properties> | |
</processor> | |
</processors> | |
</simple-gateway> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment