Package com.rabbitmq.client.amqp
Interface ConsumerBuilder.FilterOptions<T>
- Type Parameters:
T
- type of the object returned by methods
- All Known Subinterfaces:
ConsumerBuilder.StreamFilterOptions
- Enclosing interface:
ConsumerBuilder
public static interface ConsumerBuilder.FilterOptions<T>
Filter options for support of AMQP filter expressions.
AMQP filter expressions are supported only with streams.
This a different filtering mechanism from stream filtering. Both mechanisms can be used together.
Requires RabbitMQ 4.1 or more.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionabsoluteExpiryTime
(long absoluteExpiryTime) Filter on absolute expiry time field.contentEncoding
(String contentEncoding) Filter on content-encoding field.contentType
(String contentType) Filter on content-type field.correlationId
(byte[] correlationId) Filter on correlation ID.correlationId
(long correlationId) Filter on correlation ID.correlationId
(Object correlationId) Filter on correlation ID.correlationId
(String correlationId) Filter on correlation ID.correlationId
(UUID correlationId) Filter on correlation ID.creationTime
(long creationTime) Filter on creation time field.Filter on group ID.groupSequence
(int groupSequence) Filter on group sequence.messageId
(byte[] id) Filter on message ID.messageId
(long id) Filter on message ID.Filter on message ID.Filter on message ID.Filter on message ID.Filter on boolean application property.Filter on byte application property.Filter on byte array application property.Filter on character application property.Filter on double application property.Filter on float application property.Filter on integer application property.Filter on long application property.Filter on short application property.Filter on string application property.Filter on UUID application property.propertyDecimal128
(String key, BigDecimal value) Filter on 128-bit decimal number application property.propertyDecimal32
(String key, BigDecimal value) Filter on 32-bit decimal number application property.propertyDecimal64
(String key, BigDecimal value) Filter on 64-bit decimal number application property.propertySymbol
(String key, String value) Filter on symbol application property.propertyTimestamp
(String key, long value) Filter on timestamp application property.propertyUnsigned
(String key, byte value) Filter on unsigned byte application property.propertyUnsigned
(String key, int value) Filter on unsigned integer application property.propertyUnsigned
(String key, long value) Filter on unsigned long application property.propertyUnsigned
(String key, short value) Filter on unsigned short application property.Filter on reply-to field.replyToGroupId
(String groupId) Filter on reply-to group.Filter on subject field.Filter on to field.userId
(byte[] userId) Filter on user ID.
-
Method Details
-
messageId
Filter on message ID.- Parameters:
id
- message ID- Returns:
- type-parameter object
-
messageId
Filter on message ID.- Parameters:
id
- message ID- Returns:
- type-parameter object
-
messageId
Filter on message ID.- Parameters:
id
- message ID- Returns:
- type-parameter object
-
messageId
Filter on message ID.- Parameters:
id
- message ID- Returns:
- type-parameter object
-
messageId
Filter on message ID.- Parameters:
id
- message ID- Returns:
- type-parameter object
-
correlationId
Filter on correlation ID.- Parameters:
correlationId
- correlation ID- Returns:
- type-parameter object
-
correlationId
Filter on correlation ID.- Parameters:
correlationId
- correlation ID- Returns:
- type-parameter object
-
correlationId
Filter on correlation ID.- Parameters:
correlationId
- correlation ID- Returns:
- type-parameter object
-
correlationId
Filter on correlation ID.- Parameters:
correlationId
- correlation ID- Returns:
- type-parameter object
-
correlationId
Filter on correlation ID.- Parameters:
correlationId
- correlation ID- Returns:
- type-parameter object
-
userId
Filter on user ID.- Parameters:
userId
- user ID- Returns:
- type-parameter object
-
to
Filter on to field.- Parameters:
to
- to- Returns:
- type-parameter object
-
subject
Filter on subject field.- Parameters:
subject
- subject- Returns:
- type-parameter object
-
replyTo
Filter on reply-to field.- Parameters:
replyTo
- reply-to- Returns:
- type-parameter object
-
contentType
Filter on content-type field.- Parameters:
contentType
- content-type- Returns:
- type-parameter object
-
contentEncoding
Filter on content-encoding field.- Parameters:
contentEncoding
- content-encoding- Returns:
- type-parameter object
-
absoluteExpiryTime
Filter on absolute expiry time field.- Parameters:
absoluteExpiryTime
- absolute expiry time- Returns:
- type-parameter object
-
creationTime
Filter on creation time field.- Parameters:
creationTime
- creation time- Returns:
- type-parameter object
-
groupId
Filter on group ID.- Parameters:
groupId
- group ID- Returns:
- type-parameter object
-
groupSequence
Filter on group sequence.- Parameters:
groupSequence
- group sequence- Returns:
- type-parameter object
-
replyToGroupId
Filter on reply-to group.- Parameters:
groupId
- group ID- Returns:
- type-parameter object
-
property
Filter on boolean application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on byte application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on short application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on integer application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on long application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyUnsigned
Filter on unsigned byte application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyUnsigned
Filter on unsigned short application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyUnsigned
Filter on unsigned integer application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyUnsigned
Filter on unsigned long application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on float application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on double application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyDecimal32
Filter on 32-bit decimal number application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyDecimal64
Filter on 64-bit decimal number application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyDecimal128
Filter on 128-bit decimal number application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on character application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertyTimestamp
Filter on timestamp application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on UUID application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on byte array application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
property
Filter on string application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-
propertySymbol
Filter on symbol application property.- Parameters:
key
- application property keyvalue
- application property value- Returns:
- type-parameter object
-