syndesisio / connectors

Apache Camel Connectors for Syndesis
Apache License 2.0
6 stars 12 forks source link

refactor(salesforce): Streaming connectors also fetch the data for create and update events #78

Closed zregvart closed 6 years ago

zregvart commented 6 years ago

Adds a enrich processor that fetches the newly created or the state of the updated record on Salesforce.

pure-bot[bot] commented 6 years ago

Pull request approved by @davsclaus - applying approved label

davsclaus commented 6 years ago

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