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 2012/08/29 14:06:08 UTC
[jira] [Resolved] (CAMEL-5544) Zookeeper route policy constructor
has no need to throw exceptions
[ https://issues.apache.org/jira/browse/CAMEL-5544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5544.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.11.0
Only on trunk to keep API stable in 2.10.x branch.
> Zookeeper route policy constructor has no need to throw exceptions
> ------------------------------------------------------------------
>
> Key: CAMEL-5544
> URL: https://issues.apache.org/jira/browse/CAMEL-5544
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Affects Versions: 2.10.0
> Reporter: Andrew Wheat
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.11.0
>
> Attachments: zk-exception-patch.diff
>
>
> The only exceptions that are thrown by the constructor of the ZooKeeperRoutePolicy are thrown by the requirement to make the node name more pretty - adding the hostname to the created zookeeper node.
> This exception is fairly unlikely to happen and therefore can be caught closer to the cause, logging a warning and using a default hostname.
> This would clean up the API by avoiding throwing any exceptions.
--
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