Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10599

Exception tag is missing when Camel Java DSL is converted into XML using Hawtio.

    Details

    • Sprint:
      Fuse 7.4 Sprint 45 - Dev #1

      Description

      Exception tag is missing when Camel Java DSL is converted into XML using Hawtio.

      #Java DSL route

      public void configure() {
      	onException(Exception.class).log("${exception.stacktrace}").logStackTrace(true)
      			.handled(true);
      
      	from("timer://foo?fixedRate=true&period=10000&repeatCount=101").routeId("test")
      			.log("Hello World");
      }
      

      #XMl converted by Hawtio(exception class tag is missing)

      <route xmlns="http://camel.apache.org/schema/spring" id="test">
              <from uri="timer://foo?fixedRate=true&amp;period=10000&amp;repeatCount=101"/>
              <onException>
                  <redeliveryPolicy logStackTrace="true"/>
                  <log message="${exception.stacktrace}"/>
              </onException>
              <log message="Hello World"/>
          </route>
      

      #java.lang.Exception tag is missing from the XML

      <exception>java.lang.Exception</exception>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  oscerd Andrea Cosentino
                  Reporter:
                  rhn-support-shsingh Shailendra Singh
                  Tester:
                  Tomas Veskrna
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: