camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10849) Salesforce: subscription channel created per component
Date Fri, 17 Feb 2017 10:59:41 GMT

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

Luca Burgazzoli commented on CAMEL-10849:
-----------------------------------------

I did set the replay id per channel using the map but it is not taken into account as once
the SubscriptionHelper get initialized, the initialReplayIdMap is not more taken into account

> Salesforce: subscription channel created per component
> ------------------------------------------------------
>
>                 Key: CAMEL-10849
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10849
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>            Reporter: Luca Burgazzoli
>            Assignee: Zoran Regvart
>             Fix For: 2.19.0
>
>
> If I creates two salesforce consumers, I can't set different options per channel as the
client is configured on component level so i.e. you can't set a per channel replay id as only
the first one is taken into account:
> {code:java}
>     from('salesforce:comments-1?updateTopic=true&sObjectQuery=SELECT Id, CommentId__c
FROM Comment_Event__c')
>         .to("log:salesforce-comments?level=INFO&showHeaders=false&multiline=false")
>     from('salesforce:comments-2?updateTopic=true&sObjectQuery=SELECT Id FROM Case')
>         .to("log:salesforce-cases?level=INFO&showHeaders=false&multiline=false")
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message