Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MongoDB extension + additional exception for repository service failure #114

Merged
merged 3 commits into from
Nov 10, 2015

Conversation

smecsia
Copy link
Member

@smecsia smecsia commented Nov 9, 2015

No description provided.

@smecsia smecsia force-pushed the master branch 3 times, most recently from 3e18a57 to c9f144c Compare November 10, 2015 00:52
@@ -66,7 +60,10 @@ public Exchange get(CamelContext camelContext, String key) {
debug("Successfully locked the key '{}', (read)", key);
return toExchange(camelContext, map.get(key));
}
} catch (QuorumException | TargetDisconnectedException | HazelcastClientNotActiveException | OperationTimeoutException e) {
} catch (IllegalStateException e) {
error("Hazelcast is in invalid state while processing key '{}'", key, e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Define a constant instead of duplicating this literal "Hazelcast is in invalid state while processing key '{}'" 3 times. rule

@smecsia smecsia force-pushed the master branch 2 times, most recently from dc52007 to c4d88e2 Compare November 10, 2015 08:47
@smecsia
Copy link
Member Author

smecsia commented Nov 10, 2015

retest this please

@qatools-ci
Copy link
Contributor

SonarQube analysis reported 5 issues:

  • MINOR 5 minor

Watch the comments in this conversation to review them.

smecsia added a commit that referenced this pull request Nov 10, 2015
Added MongoDB extension + additional exception for repository service failure
@smecsia smecsia merged commit 01379d3 into camelot-framework:master Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants