Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7796783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:28:31+00:00 2026-06-01T23:28:31+00:00

I am trying to implement below flow in Spring Integration. Below is my requirement.

  • 0

I am trying to implement below flow in Spring Integration. Below is my requirement.

  1. Asynchronous Gateway, starting point, receives request for search and returns Future back
  2. Gateway sends request to multiple channel to perform search
  3. Each channel contacts HTTP based websites with search string
  4. Aggregator receives results from all channel of step 3 output to outputchannel

I am not sure how to achieve step 3 and step 4 or is there a better way of doing this in spring integration. Basically I have to contact multiple sites with search string and produce aggregated results.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:28:33+00:00Added an answer on June 1, 2026 at 11:28 pm
    gateway->publish-subscribe-channel(apply-sequence=true)->http-outbound-gateway(s)->aggregator
    

    If you want the http calls to run concurrently, add a task-executor to the publish-subscribe-channel; that way each http call will run on a separate thread (as long as the task executor is configured with sufficient threads.

    If you want the calls to occur serially, leave the task executor off.

    Unless you want to do something with the aggregated result before returning it, just leave off the output-channel on the aggregator and the framework will send the aggregated response to the gateway (Future). You don’t need a default-reply-channel on the gateway.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I an trying to implement a screen like below: For that, I am using
What I'm trying to implement is basically and exact replica of the image below
I'm trying to implement a horizontal multilevel dropdown navigation menu. Immediately below (vertically) the
I am trying to implement a function. My code is given below. I want
I'm trying to implement the code found below so that I can generate a
Trying to implement search with Sunspot Gem wich is using Solr.Fulltext search works fine
Trying to implement clean URLs (without .form, .do, etc.) with Spring MVC 3.0 (actually
In the below code i am trying to implement the selectall functionality.when i clcik
I'm trying to implement the pseudo solution below in java as part of an
I'm trying to implement something like the following graphic below; where the user has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.