camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7137) camel-salesforce - Make it easier to configure in blueprint
Date Fri, 17 Jan 2014 10:07:19 GMT
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)

Mime
View raw message