@Configuration @EnableConfigurationProperties(value=ElasticsearchConsumerProperties.class) public class ElasticsearchConsumerConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_ID_HEADER
Message header for the Index id.
|
static String |
INDEX_NAME_HEADER
Message header for the Index name.
|
Constructor and Description |
---|
ElasticsearchConsumerConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.MessageHandler |
indexingHandler(org.elasticsearch.client.RestHighLevelClient restHighLevelClient,
ElasticsearchConsumerProperties consumerProperties) |
public static final String INDEX_ID_HEADER
public static final String INDEX_NAME_HEADER
@Bean public org.springframework.messaging.MessageHandler indexingHandler(org.elasticsearch.client.RestHighLevelClient restHighLevelClient, ElasticsearchConsumerProperties consumerProperties)
Copyright © 2022. All rights reserved.