Hi,
Salesforce ESB Custom Inbound endpoint allows to consume the Salesforce
streaming data. It creates the connection with Salesforce and listens the
data periodically.
step1: Create the pushTopic record in salesforce account using developer
console.
PushTopic pushTopic = new PushTopic();
pushTopic.Name = 'InvoiceStatementUpdates';
pushTopic.Query = 'SELECT Id, Name, Status__c, Description__c FROM
Invoice_Statement__c';
pushTopic.ApiVersion = 34.0;
pushTopic.NotifyForOperationCreate = true;
pushTopic.NotifyForOperationUpdate = true;
pushTopic.NotifyForOperationUndelete = true;
pushTopic.NotifyForOperationDelete = true;
pushTopic.NotifyForFields = 'Referenced';
insert pushTopic;
step2: Create the inbound endpoint using the following parameters.
User Name
Password
Security Token
Push Topic Name
We can consume the streaming data what you have created in the pushtopic
('InvoiceStatementUpdates' in step1).
Thanks,
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture