Package com.github.sonus21.rqueue.spring
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) — onlyRqueueListenerConfig.Backend.NATS— bothRqueueListenerConfigandRqueueNatsListenerConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportSelector
getExclusionFilter
-
Constructor Details
-
RqueueBackendImportSelector
public RqueueBackendImportSelector()
-
-
Method Details
-
selectImports
public String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata) - Specified by:
selectImportsin interfaceorg.springframework.context.annotation.ImportSelector
-