GitHub user player13 opened a pull request:
https://github.com/apache/camel/pull/2296
CAMEL-12448 - camel-consul: filter health checks by service id
In Consul catalog registered two instances of one service. Health check for
first instance have "passed" state, and for second instance - "critical". Camel
returns both service instances with healty checks, which method "isHealthy"
returns "false".
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/player13/camel CAMEL-12448
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2296.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2296
----
commit 4a521a1fba5ea432838d2d168f72bb7a2eec53b8
Author: Vadim R <8365723+player13@...>
Date: 2018-04-16T11:58:44Z
CAMEL-12448 - camel-consul: filter health checks by service id
----
---