Annotation Interface PushConsumer
@Documented
@Retention(RUNTIME)
@Target({METHOD,PARAMETER,TYPE})
@Bindable
@Executable
@MessageMapping
@Inherited
public @interface PushConsumer
Used to specify which stream should be used for messages.
- Since:
- 4.0.0
- Author:
- Joachim Grimm
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionio.nats.client.api.AckPolicylonglong[]io.nats.client.api.DeliverPolicylongbooleanlonglonglongbooleanlongio.nats.client.api.ReplayPolicylong
-
Element Details
-
value
@AliasFor(annotation=io.micronaut.messaging.annotation.MessageMapping.class, member="value") String value- Returns:
- The subject to subscribe to.
- Default:
""
-
connection
- Returns:
- The connection to use
- See Also:
- Default:
""
-
subject
- Default:
""
-
durable
String durable- Returns:
- the durable name
- See Also:
- Default:
""
-
deliverPolicy
io.nats.client.api.DeliverPolicy deliverPolicy- Returns:
- the deliver policy
- See Also:
- Default:
All
-
startSequence
long startSequence- Returns:
- the start sequence
- See Also:
- Default:
-9223372036854775808L
-
deliverSubject
String deliverSubject- Returns:
- the deliver subject
- See Also:
- Default:
""
-
ackPolicy
io.nats.client.api.AckPolicy ackPolicy- Returns:
- the acknowledgment policy
- See Also:
- Default:
Explicit
-
ackWait
long ackWait- Returns:
- the acknowledgment wait time in millis
- See Also:
- Default:
-9223372036854775808L
-
replayPolicy
io.nats.client.api.ReplayPolicy replayPolicy- Returns:
- the replay policy
- See Also:
- Default:
Instant
-
maxDeliver
long maxDeliver- Returns:
- the max deliver
- See Also:
- Default:
-9223372036854775808L
-
filterSubject
String filterSubject- Returns:
- the filter subject
- See Also:
- Default:
""
-
rateLimit
long rateLimit- Returns:
- the rate limit
- See Also:
- Default:
-9223372036854775808L
-
sampleFrequency
String sampleFrequency- Returns:
- the sample frequency
- See Also:
- Default:
""
-
idleHeartbeat
long idleHeartbeat- Returns:
- the idle heartbeat in millis
- See Also:
- Default:
-9223372036854775808L
-
flowControl
long flowControl- Returns:
- the flow control in millis
- See Also:
- Default:
-9223372036854775808L
-
backoff
long[] backoff- Returns:
- the back off in millis
- See Also:
- Default:
{-9223372036854775808L}
-
headersOnly
boolean headersOnly- Returns:
- the header only
- See Also:
- Default:
false
-
maxAckPending
long maxAckPending- Returns:
- the max acknowledgment pending
- See Also:
- Default:
-9223372036854775808L
-
deliverGroup
String deliverGroup- Returns:
- the deliver group
- See Also:
- Default:
""
-
description
String description- Returns:
- the description
- See Also:
- Default:
""
-
queue
String queue- Returns:
- the queue of the consumer
- Default:
""
-
ordered
boolean ordered- Returns:
- flag indicating whether this subscription should be ordered
- See Also:
- Default:
false
-