File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/redhat/exhort/integration/backend Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,10 +267,10 @@ public void configure() {
267267 from (direct ("healthCheckProviderDisabled" ))
268268 .routeId ("healthCheckProviderDisabled" )
269269 .setProperty (Constants .EXCLUDE_FROM_READINESS_CHECK , constant (true ))
270- .setBody (constant (String .format ("Provider %s is disabled" ,exchangeProperty (PROVIDER_NAME ))))
270+ .setBody (constant (String .format ("Provider %s is disabled" ,exchangeProperty (Constants . PROVIDER_NAME ))))
271271
272272 .process (exchange -> {
273- String providerName = exchange .getProperty (PROVIDER_NAME , String .class );
273+ String providerName = exchange .getProperty (Constants . PROVIDER_NAME , String .class );
274274 exchange .getMessage ().setHeader (Exchange .HTTP_RESPONSE_TEXT ,String .format ("Provider %s is disabled" , providerName )); })
275275 .setHeader (Exchange .HTTP_RESPONSE_CODE , constant (Response .Status .SERVICE_UNAVAILABLE ));
276276
You can’t perform that action at this time.
0 commit comments