Created
July 1, 2022 13:57
-
-
Save davsclaus/d5973053a18b53666ea0843aafba91c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@org.apache.camel.BindToRegistry("myCheck") | |
public class MyCheck extends org.apache.camel.impl.health.AbstractHealthCheck { | |
public MyCheck() { | |
super("foo", "123"); | |
System.out.println("xxx"); | |
} | |
@Override | |
public void doCall(org.apache.camel.health.HealthCheckResultBuilder builder, java.util.Map<String, Object> options) { | |
builder.detail("dada", "hej").up(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment