<int:chain
input-channel="inboundRequestChannel"
output-channel="outboundResponseChannel">
<int:header-enricher>
<int:header name="service" ref="data-access.service" />
</int:header-enricher>
<int:service-activator>
<int-groovy:script>headers['service']."${headers['METHOD_NAME']}"(payload)</int-groovy:script>
</int:service-activator>
</int:chain>
<!-- The data access services instance -->
<bean id="data-access.service" class="TestPackagesService" />
<int:gateway id="gateway"
service-interface="TestPackagesServiceGateway"
default-request-channel="inboundRequestChannel"
default-reply-channel="outboundResponseChannel"
default-reply-timeout="10000"
error-channel=“outboundErrorChannel">
<int:method name="getTestSpec">
<int:header name="METHOD_NAME" value="getTestSpec" />
</int:method>
<int:method name="saveTestSpec">
<int:header name="METHOD_NAME" value="saveTestSpec" />
</int:method>
</int:gateway>
I was very happy because I could find this very useful interesting article
ReplyDeleteI am sure, the article you wrote will be useful for many people
thank you very much, greetings. And good luck always.
Cara Menghilangkan Bisul Di Pantat Pengobatan Alami untuk Menghilangkan Koreng Obat Kurap Di Apotik Cara Mengatasi Saluran Tuba Falopi Cara Mengatasi Sulit BAB Cara Mengempiskan Kista Secara Alami Obat Karurawit Obat Susah kencing