Class HealthConfiguration
java.lang.Object
pl.allegro.tech.hermes.consumers.config.HealthConfiguration
@Configuration
@EnableConfigurationProperties(CommonConsumerProperties.class)
public class HealthConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsumerHttpServer(CommonConsumerProperties commonConsumerProperties, ConsumerMonitor monitor, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Constructor Details
-
HealthConfiguration
public HealthConfiguration()
-
-
Method Details
-
consumerHttpServer
@Bean(initMethod="start", destroyMethod="stop") public ConsumerHttpServer consumerHttpServer(CommonConsumerProperties commonConsumerProperties, ConsumerMonitor monitor, com.fasterxml.jackson.databind.ObjectMapper mapper) throws IOException - Throws:
IOException
-
consumerMonitor
-