Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-820

JBoss Fuse 6.1 Beta: using "constant" in camel-language endpoint only returns string of the endpoint URI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.12.0.redhat-61379
    • None
    • None
    • None

      I have following Camel route definition:

        from("direct:test-route")
         .to("language:constant:resource:classpath:samples/TestResponse.xml");
      

      And the content of the file TestResponse.xml is as following:

      <response>ok</response>
      

      Unfortunately it differs in behaviour between JBoss Fuse 6.1 versions Alpha (build 139) and Beta (build 328).

      With the Alpha version, the route loads the XML response in the message's body and returns the XML content of the file.

      • In Alpha, response is:

        <response>ok</response>

      • In Beta, response is:

        resource:classpath:samples/TestResponse.xml

        It looks like a regression.

            cibsen@redhat.com Claus Ibsen
            rhn-support-qluo Joe Luo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: