Package org.springframework.cloud.task.batch.autoconfigure.rabbit

# Class AmqpItemWriterAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemWriterAutoConfiguration

@Configuration(proxyBeanMethods=false) @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

  Constructors
  Constructor
  Description
  `AmqpItemWriterAutoConfiguration()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.springframework.batch.item.amqp.AmqpItemWriter<Map<String,Object>>`
  `amqpItemWriter(org.springframework.amqp.core.AmqpTemplate amqpTemplate)`
  `AmqpItemWriterProperties`
  `amqpItemWriterProperties()`
  `org.springframework.amqp.support.converter.MessageConverter`
  `messageConverter()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AmqpItemWriterAutoConfiguration

    public AmqpItemWriterAutoConfiguration()

- ## Method Details

  - ### amqpItemWriter

    @Bean public org.springframework.batch.item.amqp.AmqpItemWriter<Map<String,Object>> amqpItemWriter(org.springframework.amqp.core.AmqpTemplate amqpTemplate)

  - ### amqpItemWriterProperties

    @Bean public AmqpItemWriterProperties amqpItemWriterProperties()

  - ### messageConverter

    @ConditionalOnProperty(name="spring.batch.job.amqpitemwriter.jsonConverterEnabled", havingValue="true", matchIfMissing=true) @Bean public org.springframework.amqp.support.converter.MessageConverter messageConverter()