Class RqueueBackendImportSelector

java.lang.Object
com.github.sonus21.rqueue.spring.RqueueBackendImportSelector
All Implemented Interfaces:
org.springframework.context.annotation.ImportSelector

public class RqueueBackendImportSelector extends Object implements org.springframework.context.annotation.ImportSelector
Selects the listener configuration classes to import based on EnableRqueue.backend().
  • Backend.REDIS (default) — only RqueueListenerConfig.
  • Backend.NATS — both RqueueListenerConfig and RqueueNatsListenerConfig.
  • Constructor Details

    • RqueueBackendImportSelector

      public RqueueBackendImportSelector()
  • Method Details

    • selectImports

      public String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)
      Specified by:
      selectImports in interface org.springframework.context.annotation.ImportSelector