Results 1 to 2 of 2

Thread: Spring Integration - Scheduling a Webservice Call.

  1. #1

    Post Spring Integration - Scheduling a Webservice Call.

    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?

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,037

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •