Results 1 to 4 of 4

Thread: endpoint scheduling/polling

  1. #1
    Join Date
    May 2008
    Posts
    6

    Default endpoint scheduling/polling

    Hello,

    I have question regarding endpoint polling/scheduling. In a current scenario, sender puts message on the channel (queue) and endpoints are periodically pulling messages from the channel.

    Is it possible that if there is message on the channel, endpoints subscribed to that channel will not wait until endpoint schedule period expires, but will be called immediately (by channel?, by bus?) ?

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    You can use a SynchronousChannel so that the endpoint is invoked directly and from the sender's thread. If you are using the SVN head version, you can define a <direct-channel/> element in XML. The naming is subject to change, but I believe that is the behavior you are asking for?

  3. #3
    Join Date
    May 2008
    Posts
    6

    Default

    yes, thank you, when can we expect spring-integration 1.0?

  4. #4
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    614

    Default

    It will be released when it is ready. I don't think Mark will commit on anything more precise.

Posting Permissions

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