...
Possible Implementations
Real time Trigger
Polling
Apache Camel
Apache Camel is a powerful open source integration framework based on known Enterprise Integration Patterns with powerful bean integration. Apache Camel can be used to implement a Microservices Architecture enabling the creation of Smart Endpoints communicating through Dumb Pipes.
Salesforce Component
Apache Camel provides over 300 components to help create the Smart Endpoints. Among these components is the Salesforce Component that simplifies Java coding to communicate with a Salesforce Org.
The Salesforce Camel Component offers three methods for a consumer of the services to authenticate with the org. This implementation will be using the JSON Web Token (JWT) a bearer token implementation requiring a self signed key pair with the public key registered with Salesforce.
JPA / JDBC Component
These Apache Camel components can be used to poll the legacy data source for changes to data of interest.