[
https://issues.apache.org/jira/browse/CAMEL-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-6298:
-------------------------------
Description:
{code}
from(uri)
.routeId(ROUTE_ID)
.validate(body().isInstanceOf(SomeClass.class))
.beanRef(bean, "someMethod")
.marshal(jaxbIn)
.to(uri).id("meID");
{code}
Studying Camel source (2.10.4) code i find, that method id("meID") is called on
ValidateDefinition object and this return empty collection for outputs.
http://camel.465427.n5.nabble.com/Camel-dont-set-ID-for-ToDefinition-object-td5731143.html
was:
from(uri)
.routeId(ROUTE_ID)
.validate(body().isInstanceOf(SomeClass.class))
.beanRef(bean, "someMethod")
.marshal(jaxbIn)
.to(uri).id("meID");
Studying Camel source (2.10.4) code i find, that method id("meID") is called on
ValidateDefinition object and this return empty collection for outputs.
http://camel.465427.n5.nabble.com/Camel-dont-set-ID-for-ToDefinition-object-td5731143.html
Affects Version/s: 2.9.6
2.11.0
Fix Version/s: 2.11.1
2.10.5
2.9.7
This problem only applies to java dsl.
> Camel dont set ID for ToDefinition object
> -----------------------------------------
>
> Key: CAMEL-6298
> URL: https://issues.apache.org/jira/browse/CAMEL-6298
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.6, 2.10.4, 2.11.0
> Reporter: Pavel Hora
> Assignee: Claus Ibsen
> Priority: Trivial
> Fix For: 2.9.7, 2.10.5, 2.11.1
>
>
> {code}
> from(uri)
> .routeId(ROUTE_ID)
> .validate(body().isInstanceOf(SomeClass.class))
> .beanRef(bean, "someMethod")
> .marshal(jaxbIn)
> .to(uri).id("meID");
> {code}
> Studying Camel source (2.10.4) code i find, that method id("meID") is called
> on ValidateDefinition object and this return empty collection for outputs.
> http://camel.465427.n5.nabble.com/Camel-dont-set-ID-for-ToDefinition-object-td5731143.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira