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] [Created] (CAMEL-10495) camel-salesforce: EndpointConfiguration not taken into account by SubscriptionHelper
Date Fri, 18 Nov 2016 11:01:58 GMT
Luca Burgazzoli created CAMEL-10495:
---------------------------------------

             Summary: camel-salesforce: EndpointConfiguration not taken into account by SubscriptionHelper
                 Key: CAMEL-10495
                 URL: https://issues.apache.org/jira/browse/CAMEL-10495
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
         Environment: In SubscriptionHelper all the configuration options hare retrieved using
component's configuration but that may be different from endpoint configuration, as example
in SubscriptionHelper.createClient :

{code:java}
Map<String, Integer> replayIdMap = component.getConfig().getInitialReplayIdMap();
if (replayIdMap != null) {
        replayId = replayIdMap.get(channelName);
}
if (replayId == null) {
        replayId = component.getConfig().getDefaultReplayId();
}
{code}

So this causes a subscription to a stream to use global configuration only and specific endpoint
config are not taken into account i.e. the defaultReplyId can't be set as per stream.


            Reporter: Luca Burgazzoli






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message