[Architecture] Custom inbound endpoint for Salesforce streaming api

2015-09-28 Thread Vanii Thiyagarajah
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();

Re: [Architecture] Custom inbound endpoint for Salesforce streaming api

2015-09-28 Thread Malaka Silva
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 wrote: > Hi, > > Salesforce ESB Custom Inbound endpoint allows to consume the Salesforce > streaming data. It creates the connection with Salesfor

Re: [Architecture] Custom inbound endpoint for Salesforce streaming api

2015-09-28 Thread Vanii Thiyagarajah
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 wrote: > Hi Vanii, > > Your approach

Re: [Architecture] Custom inbound endpoint for Salesforce streaming api

2015-09-28 Thread Malaka Silva
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 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