[
https://issues.apache.org/jira/browse/CAMEL-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734155#comment-13734155
]
Christian Posta commented on CAMEL-6545:
----------------------------------------
I've run into situations like this also.
I can take a look at adding this :)
> 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
> Priority: Minor
> Fix For: Future
>
>
> 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