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 2013/04/22 10:53:16 UTC

[jira] [Updated] (CAMEL-6298) Camel dont set ID for ToDefinition object, when using validate in the route

     [ https://issues.apache.org/jira/browse/CAMEL-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-6298:
-------------------------------

    Summary: Camel dont set ID for ToDefinition object, when using validate in the route  (was: Camel dont set ID for ToDefinition object)
    
> Camel dont set ID for ToDefinition object, when using validate in the route
> ---------------------------------------------------------------------------
>
>                 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