[
https://issues.apache.org/jira/browse/CAMEL-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-7137.
--------------------------------
Resolution: Fixed
> camel-salesforce - Make it easier to configure in blueprint
> -----------------------------------------------------------
>
> Key: CAMEL-7137
> URL: https://issues.apache.org/jira/browse/CAMEL-7137
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.12.3, 2.13.0
>
>
> Darn that blueprint cannot figure out to convert a text value to String[] as
> spring / spring-dm can do.
> So we gotta help that poor chap. This is the error you get today
> {code}
> <bean id="salesforce"
> class="org.apache.camel.component.salesforce.SalesforceComponent">
> <property name="loginConfig" ref="salesforceConfig" />
> <property name="packages" value="com.foo.bar"/>
> </bean>
> {code}
> {code}
> Caused by: java.lang.Exception: Unable to convert value xxx.xxxx to type
> class [Ljava.lang.String;. Type class [Ljava.lang.String; is an interface or
> an abstract class
> {code}
> The same code works fine in spring. And as we have people migrating between
> the two we should make it easy for them.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)