Steve Storck created CAMEL-20104:
------------------------------------

             Summary: camel-dynamic-router eip compnent: add option to return 
an exception on the exchange if a message is dropped.
                 Key: CAMEL-20104
                 URL: https://issues.apache.org/jira/browse/CAMEL-20104
             Project: Camel
          Issue Type: Improvement
          Components: eip
            Reporter: Steve Storck
            Assignee: Steve Storck


{*}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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to