<?xml version="1.0"?>
<jbossesb parameterReloadSecs="5"
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd">
<providers>
<http-provider name="httpProvider">
<http-bus busid="channelHttpProvider">
<protected-methods>
<method name="GET"/>
<method name="POST"/>
<method name="PUT"/>
<method name="DELETE"/>
<method name="HEAD"/>
</protected-methods>
</http-bus>
</http-provider>
</providers>
<services>
<service category="categoryHttpService"
description="Servicio de Prueba Http Provider" invmScope="GLOBAL" name="HttpService">
<listeners>
<http-gateway busidref="channelHttpProvider"
name="listenerHttpProvider" urlPattern="httpProvider/*"/>
</listeners>
<actions mep="RequestResponse">
<action class="org.jboss.soa.esb.actions.SystemPrintln" name="wer">
<property name="message" value="asdf"/>
<property name="printfull" value="true"/>
</action>
<action class="cl.mas.siniestros.esb.action.ejemplo.HttpRestRouter"
name="HttpAction" process="process">
<property name="endpointUrl" value="http://localhost:8181/resteasy-springMVC/contacts"/>
<property name="method" value="POST"/>
<!-- <property name="path" value="/data/{lastName}"/> -->
<property name="path" value="/"/>
<property name="Content-Type" value="application/x-www-form-urlencoded"/>
</action>
</actions>
</service>
</services>
</jbossesb>
Comments