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

Add support for setting onException, interceptors etc in routeContext (reusable onexceptions)

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: camel-core, camel-spring
    • Labels:
      None

      Description

      Cfr. http://camel.465427.n5.nabble.com/reusable-onexceptions-td4304909.html

      I can reuse route definitions by putting them in a <routeContext> and then referring to them. I would like to do the same with <onException> definitions.

      The context I'm working in is one where we define routes by composing reusable route definitions. This works well, but I find that we have to duplicate the more general <onException> handlers. I was hoping that I could reuse their definitions as well.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kdeschut Kris De Schutter
            • Votes:
              11 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: