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

ID of route is not set when onException is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • None
    • None
    • Apache Camel 2.1-SNAPSHOT (build 20091022) , Java 1.6.0, Linux

    Description

      When building a route like this:

      ....
      public void configure() {
      
      from("jms:fileIn?transacted=true")
        .onException(UnmarshalException.class)
         .handled(true)
          .bean(FileProcessExceptionBean.class,"handleException")
      .end()
      .id("fileMapping")
      .transacted()
      .process(new FileProcessor())
      .to("jms:fileOut");
      
      }
      

      the id is not set. When the onException-section is removed, the id is set correctly

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            dulmerlucsly Patrick Klippel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: