You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Vadim R (JIRA)" <ji...@apache.org> on 2018/04/16 11:57:00 UTC

[jira] [Created] (CAMEL-12448) camel-consul - service health state calculated from all services with same name

Vadim R created CAMEL-12448:
-------------------------------

             Summary: camel-consul - service health state calculated from all services with same name
                 Key: CAMEL-12448
                 URL: https://issues.apache.org/jira/browse/CAMEL-12448
             Project: Camel
          Issue Type: Bug
          Components: camel-consul
    Affects Versions: 2.21.0
            Reporter: Vadim R


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".

I've make some changes in ConsulServiceDiscoveryTest to show up this bug, and fix it in ConsulServiceDiscovery.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)