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