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

Add issue about order of onException and transacted at route level to known issues in the docs

XMLWordPrintable

    • Icon: Documentation Documentation
    • Resolution: Done
    • Icon: Major Major
    • 2.8.0-fuse-01-06
    • 2.8.0-fuse-01-06
    • None
    • None

      Hi

      See DEV-3597

      If you have a Java DSL route such as

      from("activemqjta:queue:testtt")
      .routeId("testtt")
      .transacted("requiredJta")
      .onException(Exception.class)
      ...
      

      Then you must configure onException at first, eg before .transacted. So they should be swapped like

      from("activemqjta:queue:testtt")
      .routeId("testtt")
      .onException(Exception.class)
      ...
      .transacted("requiredJta")
      

      Can this issue be added to the known issues part of the Fuse MR documentation
      http://fusesource.com/docs/router/2.8/migration/Known.html

              fbolton@redhat.com Fintan Bolton (Inactive)
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: