Class RedisConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.redis.RedisConsumerProperties
@ConfigurationProperties("redis.consumer")
@Validated
public class RedisConsumerProperties
extends Object
Used to configure those Redis Sink module options that are not related to connecting to Redis.
- Author:
- Eric Bottard, Mark Pollack, Artem Bilan, Soby Chacko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
getQueue()
getTopic()
@jakarta.validation.constraints.AssertTrue(message="Exactly one of \'queue\', \'queueExpression\', \'key\', \'keyExpression\', \'topic\' and \'topicExpression\' must be set") boolean
void
void
setKeyExpression
(String keyExpression) void
void
setQueueExpression
(String queueExpression) void
void
setTopicExpression
(String topicExpression)
-
Constructor Details
-
RedisConsumerProperties
public RedisConsumerProperties()
-
-
Method Details
-
keyExpression
-
queueExpression
-
topicExpression
-
getTopicExpression
-
setTopicExpression
-
getQueueExpression
-
setQueueExpression
-
getKeyExpression
-
setKeyExpression
-
getKey
-
setKey
-
getQueue
-
setQueue
-
getTopic
-
setTopic
-
isMutuallyExclusive
@AssertTrue(message="Exactly one of \'queue\', \'queueExpression\', \'key\', \'keyExpression\', \'topic\' and \'topicExpression\' must be set") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of \'queue\', \'queueExpression\', \'key\', \'keyExpression\', \'topic\' and \'topicExpression\' must be set") boolean isMutuallyExclusive()
-