Camel
  1. Camel
  2. CAMEL-3870

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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.

        Activity

        Show
        Claus Ibsen added a comment - See also http://stackoverflow.com/questions/16735282/is-it-possible-to-use-both-routecontextref-and-dataformats-elements-in-a-camelco We should also add support for <dataFormats> etc

          People

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

            Dates

            • Created:
              Updated:

              Development