Closed zregvart closed 6 years ago
Pull request approved by @davsclaus - applying approved label
Good work @zregvart - I like that you only had to write 5 lines of java code in the component where you build up that query for salesforce, and add/remove a bit in the options. Considering that this is the beginning of ipaas adventure then it seems flexible enough at this point.
I made a comment about sObjectName
field not being required, if that would otherwise have been desirable. Also you can use the same endpointOverrides
to provide a different description of the field if that makes sense. You can for example say the name of the field to be notified when its updated | deleted etc.
This adds thee connectors:
These connectors are intended to be used to start the integration, i.e. Camel
from
endpoints.In addition to authentication properties they have one property open for configuration
sObjectName
the name of the object to get events for.Internally connectors generate
topicName
andquery
endpoint properties and remove thesObjectName
property to prevent class lookup by the given object name that would lead to IllegalArgumentException.Output of the connector is
AnyObject
DTO that contains a singleId
property with the identifier of the object the event was generated for.