You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "sowjanya mudimala (JIRA)" <ji...@apache.org> on 2018/10/01 22:34:00 UTC

[jira] [Commented] (CAMEL-11803) Add Support for Salesforce Platform Events

    [ https://issues.apache.org/jira/browse/CAMEL-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634718#comment-16634718 ] 

sowjanya mudimala commented on CAMEL-11803:
-------------------------------------------

I tried 2.23.0 SNAPSHOT to subscribe to salesforce platform event, but found that subscription isn't stable. 
I am hitting below error . 

Error restarting: Error during CONNECT: 403::Unknown client
org.apache.camel.CamelException: Error during CONNECT: 403::Unknown client
	at org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper.doStart(SubscriptionHelper.java:221)

Found https://developer.salesforce.com/forums/?id=906F0000000ApCYIA0. 
Can we follow the suggestion " whenever 403 error occurs you will be getting connection broken. SO do one thing add listener metaUnSucessfulListener.
Once you recieve the error, the method will get called and in this method first unsubsicribe the existing insance of cometd, create fresh instance." 
Note that I am hitting this issue even after disabling salesforce lightening mobile alerts. 


> Add Support for Salesforce Platform Events
> ------------------------------------------
>
>                 Key: CAMEL-11803
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11803
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>            Reporter: Cory Downey
>            Assignee: Zoran Regvart
>            Priority: Minor
>             Fix For: 2.23.0
>
>
> Salesforce recently introduced Platform Events (in API v39.0 I believe). I would like to propose a new feature to support this in the camel-salesforce component.
> Platform Events are very similar to the streaming API.
> Platform Events use the same cometd.
> Platform Events use the URL https://<sf-instance>/event/<event_name__e>
> Reference:
> https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_intro.htm



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)