You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/08/22 04:53:52 UTC
[jira] [Resolved] (CAMEL-6545) seda producer - Add option to fail
for non existing queue
[ https://issues.apache.org/jira/browse/CAMEL-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-6545.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
2.12.0
Applied the patch into master branch with thanks to christina.
I also fix some unit test failures of camel-vm component.
> 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