Class AmqpItemReaderAutoConfiguration
java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemReaderAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(AmqpItemReaderProperties.class)
@AutoConfigureAfter(org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class)
@ConditionalOnProperty(name="spring.batch.job.amqpitemreader.enabled",
havingValue="true",
matchIfMissing=false)
public class AmqpItemReaderAutoConfiguration
extends Object
Autconfiguration for a
AmqpItemReader
.- Since:
- 2.3
- Author:
- Glenn Renfro, Michael Minella
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionamqpItemReader
(org.springframework.amqp.core.AmqpTemplate amqpTemplate, Class itemType) org.springframework.amqp.support.converter.MessageConverter
-
Constructor Details
-
AmqpItemReaderAutoConfiguration
public AmqpItemReaderAutoConfiguration()
-
-
Method Details
-
amqpItemReaderProperties
-
amqpItemReader
-
messageConverter
@ConditionalOnProperty(name="spring.batch.job.amqpitemreader.jsonConverterEnabled", havingValue="true", matchIfMissing=true) @Bean public org.springframework.amqp.support.converter.MessageConverter messageConverter()
-