1

enter image description hereHow to implement Apache Camel Dynamic Router Pattern, for flow chart based execution process. I have been through the links https://www.javainuse.com/camel/camel-dynamic-router-example, could not able to figure it out.

I want to create an API that processes all three steps.

1) First internally hits another API and get the response and transfer its response to the next stage i.e Database

2) The second step will perform the write operation to DB and route to different stage i.eResponse Handler.

To conclude the above process, what I want to do is to create a different route for each stage and trigger or execute in a manner the process is defined.

Squti
  • 4,171
  • 3
  • 10
  • 21
Braj Ankit
  • 333
  • 1
  • 2
  • 19
  • Can you give more detail what you are trying to achieve? Better understanding your problem would help finding the right answer. – Screwtape Dec 28 '19 at 09:00
  • I'm still not sure what you're trying to achieve - is your routing dynamic? If so, what does it depend on? Your steps 1 and 2 seem straighforward, but I don't knwo what you mean by the final paragraph. Sorry! – Screwtape Dec 28 '19 at 13:46
  • Can you give a bit more information about what you're trying to achieve with this? What's the use case? – Eric Green Dec 28 '19 at 16:10
  • Could you add ypur code please? We can't debug ideas unfortunately. – Namphibian Dec 29 '19 at 06:52

0 Answers0