Annotation Interface RedisPubSubClient
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Introduction
@Singleton
public @interface RedisPubSubClient
Declarative client for publishing Redis Pub/Sub messages.
Methods may return a synchronous value,
void, a CompletionStage,
or a reactive Publisher. For non-void return types, Micronaut first tries
to convert the Redis subscriber count to the declared return type. If that is not possible and the
declared type already matches the published body type, the original body is returned.- Since:
- 7.0
- Author:
- Graeme Rocher
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
connection
-
executor
-