Results 1 to 2 of 2

Thread: Multi-threaded receiver

  1. #1
    Join Date
    Mar 2013
    Posts
    1

    Default Multi-threaded receiver

    Use Case:

    Process picks up 75 rows from DB and sends one message per row to the SI channel - thinking Queue channel. On the receiver side, need N number of worker-bees to process the message - unique message per worker-bee (no dups).

    I have not found a way to do this based on reading the reference documentation and searching through the forum.

    Based on above, if you think other channel is more appropriate, plz suggest.

    Any help would be appreciated.

    Thanks

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

    Default

    Consider using an executor channel; if you use a pooled task executor, you can control N with the pool size.

    http://static.springsource.org/sprin...ecutor-channel

    http://static.springsource.org/sprin...xecutorchannel
    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
  •