camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8780) Camel exec component have trouble to load arguments list from message header
Date Mon, 18 May 2015 05:18:59 GMT
Willem Jiang created CAMEL-8780:
-----------------------------------

             Summary: Camel exec component have trouble to load arguments list from message
header
                 Key: CAMEL-8780
                 URL: https://issues.apache.org/jira/browse/CAMEL-8780
             Project: Camel
          Issue Type: Bug
          Components: camel-exec
            Reporter: Willem Jiang
            Assignee: Willem Jiang


When trying to set the following header:
{code}
            <setHeader headerName="CamelExecCommandArgs" >
                <simple>"--import" "--export"</simple>
            </setHeader>
{code}
We receive the following error:
{code}
org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String
to the required type: java.util.List with value "--import" "--export" due java.lang.NumberFormatException:
For input string: ""--import" "--export""
{code}




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

Mime
View raw message