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

port the error handler / dead letter channel / redelivery policy over to JAXB2 so you can fully customize it via XML

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0, 2.0-M1
    • Component/s: camel-core
    • Labels:
      None

      Issue Links

        Activity

        Hide
        davsclaus Claus Ibsen added a comment -

        James has recently added stuff so you can ref to a spring bean that is the error handler and redelivery policy. So in fact you can do all the spring configuration.
        Maybe this issue is less important now.

        Show
        davsclaus Claus Ibsen added a comment - James has recently added stuff so you can ref to a spring bean that is the error handler and redelivery policy. So in fact you can do all the spring configuration. Maybe this issue is less important now.
        Hide
        janstey Jonathan Anstey added a comment -

        I agree with Claus on this one. Hadrian, if you haven't put too much work into this, maybe we could move to 2.0?

        Show
        janstey Jonathan Anstey added a comment - I agree with Claus on this one. Hadrian, if you haven't put too much work into this, maybe we could move to 2.0?
        Hide
        davsclaus Claus Ibsen added a comment -

        I think if we need full DSL support using the same name as java DSL then there are many xml elements to add, and what if end-users mix/match with this and the errorHandlerRef stuff? Then it gets complicated.

        However maybe we can not do complex error handling routing as in Java DSL. How do you do this?

        errorHandler(deadLetterChannel()).processRef(myErrorProcessor).to("bean:someBean).to("file://backup/errror");
        

        beware of syntax error as Firefox does not have code intellisence

        Show
        davsclaus Claus Ibsen added a comment - I think if we need full DSL support using the same name as java DSL then there are many xml elements to add, and what if end-users mix/match with this and the errorHandlerRef stuff? Then it gets complicated. However maybe we can not do complex error handling routing as in Java DSL. How do you do this? errorHandler(deadLetterChannel()).processRef(myErrorProcessor).to( "bean:someBean).to(" file: //backup/errror"); beware of syntax error as Firefox does not have code intellisence
        Hide
        davsclaus Claus Ibsen added a comment -

        The Spring DSL can now properly do error handling, albeit you should define it as spring beans etc.

        See wiki doc:
        http://camel.apache.org/error-handler.html

        Show
        davsclaus Claus Ibsen added a comment - The Spring DSL can now properly do error handling, albeit you should define it as spring beans etc. See wiki doc: http://camel.apache.org/error-handler.html
        Hide
        davsclaus Claus Ibsen added a comment -

        Closing 2.0m1 tickets

        Show
        davsclaus Claus Ibsen added a comment - Closing 2.0m1 tickets

          People

          • Assignee:
            hadrian Hadrian Zbarcea
            Reporter:
            jstrachan james strachan
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development