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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:53:27+00:00 2026-05-31T08:53:27+00:00

This is the use case I am trying to address: I have: a client

  • 0

This is the use case I am trying to address:

I have:

  • a client C, which is a web app,

  • a frontend module A, exposing a REST API,

  • a back-end module B, also exposing a REST API. (I can’t change this module which is not mine and which only has a REST API)

For one of the services, C calls A which calls B. Everything happens in REST. It is fast as the REST calls are synchronous (i.e. blocking).

Now I would like to decouple A and B, for A to not know about B directly.

So I am wondering about putting Camel as a message bus in the middle. It would give:

C —(REST call)—-> A —-> Camel —(REST call)—> B


My question

Is it a good idea and if yes would it still be fast (without anything between A and B, I have a response in less than 10 ms on a local network)?

TieBreaker

Would it work the same with ServiceMix?

Thanks!

  • 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-31T08:53:29+00:00Added an answer on May 31, 2026 at 8:53 am

    Are you asking whether or not a message bus is a good architecture or are you asking, given that you’ve chosen to use a message bus, if Camel / ServiceMix is the right solution?

    I’ll take a stab at both – IMHO message-based architectures (specifically event-driven architectures) are great. Do a search on Event Driven Architectures on infoq.com for a wealth of info. Provides fantastic decoupling, scalability, separation of concerns, etc.

    Will it be fast? Too many factors there to answer. It will certainly be a bit more overhead than a peer-to-peer rest call, but maybe not enough to matter. Also depends on what messaging broker you choose, if you need selective queues, etc etc etc. I use Camel for a solution like this and it’s ‘fast enough’ for what I need. You’ll have to try it.

    Not sure how to answer ‘will it work the same’.. ServiceMix uses Camel for its routing, so some of it will work the same. But ServiceMix also has built in ActiveMQ, so if you decide to use something other the ActiveMQ (eg RabbitMQ) then it will work differently 🙂

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

Sidebar

Related Questions

I have this use case of an xml file with input like Input: <abc
My use case is this... I have a project that has two production branches.
I have a use case with NServiceBus explained in this question. Essentially there is
I'm starting to use Mercurial on my web server (in this case MediaTemple's Grid).
This might not have a major usecase in projects, but I was just trying
The use case is some what like this: public class SomeClass : ICloneable {
How can I use output caching with a .ashx handler? In this case I'm
I am trying to use the MaxMind GeoLite Country database on the Google App
I'm trying to parse google atom with XmlSlurper. My use case is something like
We are trying to implement the following case. We have a invoice table and

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.