You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/02/01 13:56:00 UTC
[jira] [Updated] (CAMEL-15286) camel-salesforce: make it possible
to provide login options as uri param
[ https://issues.apache.org/jira/browse/CAMEL-15286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-15286:
--------------------------------
Fix Version/s: (was: 3.8.0)
3.x
> camel-salesforce: make it possible to provide login options as uri param
> ------------------------------------------------------------------------
>
> Key: CAMEL-15286
> URL: https://issues.apache.org/jira/browse/CAMEL-15286
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Reporter: Luca Burgazzoli
> Assignee: Dhiraj Sureshkumar Bokde
> Priority: Major
> Fix For: 3.x
>
>
> Configuring the Salesforce is quite complex compared to other complex as it requires to write some java beans:
> {code:java}
> SalesforceComponent component = new SalesforceComponent();
> SalesforceEndpointConfig config = new SalesforceEndpointConfig();
> SalesforceLoginConfig loginConfig = new SalesforceLoginConfig();
> loginConfig.setType(AuthenticationType.REFRESH_TOKEN);
> loginConfig.setClientId(properties.getProperty("clientId"));
> loginConfig.setClientSecret(properties.getProperty("clientSecret"));
> loginConfig.setRefreshToken(properties.getProperty("refreshToken"));
> component.setPackages("org.apache.camel.example.salesforce");
> component.setConfig(config);
> component.setLoginConfig(loginConfig);
> {code}
> It would be nice if most of the configuration could be done with uri params only and to require to write beans only for really advanced options.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)