[ https://issues.apache.org/jira/browse/CAMEL-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747487#comment-13747487 ]
Christian Posta commented on CAMEL-6545: ---------------------------------------- Thanks Claus and Willem. These are good comments, and I will keep in mind for future contributions. > 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