You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/07/13 11:19:48 UTC

[jira] [Created] (CAMEL-6545) seda producer - Add option to fail for non existing queue

Claus Ibsen created CAMEL-6545:
----------------------------------

             Summary: 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