[ 
https://issues.apache.org/jira/browse/CAMEL-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747282#comment-13747282
 ] 

Claus Ibsen commented on CAMEL-6545:
------------------------------------

Thanks for the contribution.

Though there is a few spots to fix, as eg we should not log a WARN and then 
throw an exception, eg the WARN should be removed. 

Also mind that when we change something in seda then camel-hazelcast, 
camel-routebox and the new disruptor may be affected as they is related to seda 
/ reuse it etc. So a good idea is to check if they work as expected still or 
something needs to be changed there also.

                
> seda producer - Add option to fail for non existing queue
> ---------------------------------------------------------
>
>                 Key: CAMEL-6545
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6545
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.12.0
>
>         Attachments: 
> Patch_for_https___issues_apache_org_jira_browse_CAMEL-6545.patch
>
>
> See
> http://stackoverflow.com/questions/17457231/in-apache-camel-how-can-i-receive-an-error-if-an-endpoint-doesnt-exist
> It would be nice if we can configure a seda producer endpoint to fail if 
> sending to a queue with no consumers at runtime, when the producer tries to 
> send to the queue.
> .to("seda:foo?failIfNoConsumers=true")
> Maybe the name should be {{failIfNoConsumers}} ?
> For example the direct component has an exception 
> DirectConsumerNotAvailableException. So we would need a 
> SedaConsumerNotAvailableException for this component.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to