Class RedisBackendCondition

java.lang.Object
com.github.sonus21.rqueue.config.RedisBackendCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public class RedisBackendCondition extends Object implements org.springframework.context.annotation.Condition
Spring Condition that matches when the active rqueue backend is Backend.REDIS. Reads the rqueue.backend property; absent or unparseable values default to REDIS so the existing behavior is preserved.
  • Constructor Details

    • RedisBackendCondition

      public RedisBackendCondition()
  • Method Details

    • matches

      public boolean matches(org.springframework.context.annotation.ConditionContext ctx, org.springframework.core.type.AnnotatedTypeMetadata md)
      Specified by:
      matches in interface org.springframework.context.annotation.Condition