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 6674057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:42:04+00:00 2026-05-26T03:42:04+00:00

Here is how my application works: The user starts off filling out a form

  • 0

Here is how my application works:

The user starts off filling out a form and submits it. This action starts the first camelroute which performs some processing until returning a “please Hold, processing your request…” type of view to the user.

This view sends an AJAXRequest which triggers a second route to start.

The first route enriches an object with contextual data which I need the second route to know about.How do I accomplish this?

It is stored in the header in.header of the first route and it has a good number of reference fields which go a few levels deep which makes it less joyful to send them as parts of a Html form request

Is there a good way of sending the object between the routes?

  • 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-05-26T03:42:04+00:00Added an answer on May 26, 2026 at 3:42 am

    In general, JMS is a good choice for sharing data between routes that are executed asynchronously. Your use case has the added requirement of needing to correlate the enriched message with a subsequent request (by a requestId, etc).

    One option is to use JMS selectors to pull the appropriate enriched messages in your 2nd route.

    Another option (instead of using JMS) is to use an in memory cache (camel-cache or camel-hazelcast) to store your enriched messages in memory, then retrieve/clear them in your 2nd route.

    [todo: add examples]

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

Sidebar

Related Questions

...before everything, I'm doing this out of curiosity only. Nothing real-world application here, but
To start off here's how the application works: (note: there are multiple users on
This is to create a greeting card application and here i have to change
Here's the question first: Is this possible? I'm taking my inspiration from Joe Wrobel's
I made an application and a dll, which are working this way: I have
In my application, after the user presses the appropriate button, an activity starts that
The Application.WindowBeforeDoubleClick event for PowerPoint 2007 appears to not work (see here to verify
hi i am doing one application here i need to disply 6 images in
I have a Jsfiddle application here . If you type in a question in
I've downloaded a sample application sending email silverlight application here. via gmail. But I

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.