THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Camel is no longer a baby and the framework concepts are well mature, thus they should be transferred to the API and avoid making everything a raw Processor.
Converting some EIPs from "
...
performers" to mere "deciders"
- choice() => evaluates the predicates and returns the List of Processors or Endpoints to invoke.
- filter() => same as choice(), but returning null if the filter doesn't match, to continue to the next routing step.
- loop() => evaluates whether the looping control predicate still stands. If yes, it returns the processors to invoke, where the last is itself (to trigger the looping logic again); else, it returns null to continue to the next routing step.
- throttle() => pauses accordingly and then returns the endpoint/processors to invoke.
- ...
...