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

camel-dynamic-router eip compnent: add option to return an exception on the exchange if a message is dropped.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.x
    • eip
    • None
    • Unknown

    Description

      User Story:

      As a routing participant that sends a message to the dynamic router, I need a way to know that a message that I have sent was not sent to any routing participants so that I can react/respond in an appropriate way, as deemed by my function in the system.

       

      Description:

      The dynamic router eip component currently has an option for notification when a message is dropped if there are no routing participants that have registered rules that allow any of them to receive a message – it can log a message at the debug level by default, or it can be configured to log as a warning.  Since this is not ideal for notifying the sender of this issue, it would be helpful to let the message sender know that no recipients were available to receive the message.

       

      Approach:

      The logging level for dropped messages is still probably useful, so that option can remain.  It would be a good idea to create another configuration option that allows the user to toggle returning an exception on the exchange when there are no appropriate routing participants to receive the message.

      Attachments

        Activity

          People

            Steve973 Steve Storck
            Steve973 Steve Storck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: