Andrew Wheat created CAMEL-5544:
-----------------------------------
Summary: 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
Priority: Minor
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