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 2014/01/17 11:07:19 UTC
[jira] [Created] (CAMEL-7137) camel-salesforce - Make it easier to
configure in blueprint
Claus Ibsen created CAMEL-7137:
----------------------------------
Summary: 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)