Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. <ip:tcp-connection-factory id="xClient" type="client" host="${SERVER_HOST}"
  2.  
  3. <ip:tcp-connection-factory id="yClient" type="client" host="${SERVER_HOST}"
  4.  
  5. <int:gateway id="xGateway" service-interface="com.pac.xGateway">
  6. <int:method name="fetchXData" request-channel="XDataRequestChannel" reply-channel="XDataResponseChannel"/>
  7. <int:method name="getYData" request-channel="YDataRequestChannel" reply-channel="YDataResponseChannel"/>
  8. </int:gateway>
  9.  
  10. <ip:tcp-outbound-gateway id="serverGateway" request- channel="queryRequestChannel" reply-channel="queryResponseChannel" connection-factory="xClient" reply-timeout="300000" request- timeout="300000"/>
  11.  
  12. <ip:tcp-outbound-gateway id="serverSGateway" request-channel="querySRequestChannel" reply-channel="querySResponseChannel" connection-factory="yClient" reply-timeout="300000" request-timeout="300000"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement