We have a use case in our Project, where i need to call(Pull) a webservice with no input parameters every 3-5 seconds to get some data?
What is best approach to achieve this in Spring Integration? Do we have any samples?
We have a use case in our Project, where i need to call(Pull) a webservice with no input parameters every 3-5 seconds to get some data?
What is best approach to achieve this in Spring Integration? Do we have any samples?
Use a polled inbound-adapter (e.g. with expression="some empty input") and a ws:outbound-gateway (SOAP) or http:outbound-gateway (ReST).
"some empty input" would probably be an "empty" XML document of some kind for a SOAP WS, or can be anything (ignored by the gateway) for a ReST web service.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware