Closed zregvart closed 6 years ago
Pull request approved by @davsclaus - applying approved label
The beforeConsumer was intended as a processor where you would write just java code what to do, eg in your use-case, to set 2 headers on the exchange, and call an endpoint which we could have done via a fluent producer template.
However I can maybe see the desire to do that via small Camel routes which you link via a direct endpoint. In light of that, we may think in the future to make that a bit more easier, so you dont need that hack in the doStart
Adds a enrich processor that fetches the newly created or the state of the updated record on Salesforce.