0

Now we are developing a system based on microservice architecture, which uses messages and Apache Kafka for inter-service interactions.
Messages will walk through core service according to configured routes.
Which involves configuring consumers, validators, transformers, splitters, routers, producers etc.
We know about Spring Intergration and Apache Camel.
But we want to implement dynamically linked (hot plugged) routes without restarting the core service.
Is there a framework, tool, approach etc. which implements such an idea?
Our development language is Java.
Thanks!

0

Most (Java) frameworks support wildcards in routes, which is what you need right?

E.g.

Play

GET   /clients/:dynamicPart        controllers.Clients.show(dynamicPart: String)

Spring

@GetMapping("/greeting")
public String greeting(@RequestParam(name="dynamicPart", required=false, defaultValue="World") String dynamicPart, Model model) {
    model.addAttribute("name", dynamicPart);
    return "greeting";
 }
  • Hi @Thomas! Thanks for your answer, In my question, routes are understood as the way of processing and transfering messages as part of interservice interaction, not REST. For example, in the context of how this is interpreted and used by Enterprise Integrational Patterns. – Torino Sep 4 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.