Vanii we may need to consider the coordination support in w-m cluster setup as well.
On Tue, Sep 29, 2015 at 11:45 AM, Vanii Thiyagarajah <[email protected]> wrote: > Yes Malaka. Salesforce streaming API connects using *long polling*. In > here the server hold the connection for a period of time, Server can return > the connection at the moment When it has the information. > > Thanks > > On Mon, Sep 28, 2015 at 6:50 PM, Malaka Silva <[email protected]> wrote: > >> Hi Vanii, >> >> Your approach looks good. But should the behavior be busy-waiting rather >> than polling? >> >> On Mon, Sep 28, 2015 at 5:54 PM, Vanii Thiyagarajah <[email protected]> >> wrote: >> >>> 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, >>> >>> >> >> >> -- >> >> Best Regards, >> >> Malaka Silva >> Senior Tech Lead >> M: +94 777 219 791 >> Tel : 94 11 214 5345 >> Fax :94 11 2145300 >> Skype : malaka.sampath.silva >> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >> Blog : http://mrmalakasilva.blogspot.com/ >> >> WSO2, Inc. >> lean . enterprise . middleware >> http://www.wso2.com/ >> http://www.wso2.com/about/team/malaka-silva/ >> <http://wso2.com/about/team/malaka-silva/> >> >> Save a tree -Conserve nature & Save the world for your future. Print this >> email only if it is absolutely necessary. >> > > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
