Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6298

Camel dont set ID for ToDefinition object, when using validate in the route

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.9.6, 2.10.4, 2.11.0
    • 2.9.7, 2.10.5, 2.11.1, 2.12.0
    • camel-core
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            horyna Pavel Hora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: