You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Angel Segarra (JIRA)" <ji...@apache.org> on 2016/07/27 21:17:20 UTC
[jira] [Updated] (CAMEL-10192) Specifying jobFromHeader in URI
option throws exception
[ https://issues.apache.org/jira/browse/CAMEL-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angel Segarra updated CAMEL-10192:
----------------------------------
Patch Info: Patch Available
> Specifying jobFromHeader in URI option throws exception
> -------------------------------------------------------
>
> Key: CAMEL-10192
> URL: https://issues.apache.org/jira/browse/CAMEL-10192
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-batch
> Affects Versions: 2.17.2
> Reporter: Angel Segarra
>
> Setting the jobFromHeader option in the URI throws exception.
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: spring-batch://myJob?jobFromHeader= due to: Failed to resolve endpoint: spring-batch://responseFileJob?jobFromHeader= due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{jobFromHeader=}]
> at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:588) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:534) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:495) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:219) ~[camel-core-2.17.1.jar:2.17.1]
> at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1069) ~[camel-core-2.17.1.jar:2.17.1]
> ... 31 common frames omitted
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)