Class BatchListenerComponent

java.lang.Object
org.autumnframework.service.rabbit.batch.client.listener.BatchListenerComponent

public class BatchListenerComponent extends Object
  • Constructor Details

    • BatchListenerComponent

      public BatchListenerComponent(CrudMessageListenerAndDelegationService service)
      This class exists so we can use the ConditionalOnBean on this class instead of on the @RabbitListener methods which for some reason doesn't seem to work. Possibly because they are instantiated differently from @Bean
      Parameters:
      service -