| Package | Description |
|---|---|
| com.rabbitmq.stream |
Main API for RabbitMQ Stream Java Client.
|
| com.rabbitmq.stream.codec |
Implementations of AMQP 1.0
Codec. |
| com.rabbitmq.stream.impl |
Implementation-specific, non-public interfaces and classes of the RabbitMQ Stream Java Client.
|
| Modifier and Type | Method and Description |
|---|---|
default Message |
Message.annotate(String key,
Object value)
Add a message annotation to the message.
|
Message |
MessageBuilder.build()
Create the message.
|
default Message |
Message.copy()
Create a copy of the message.
|
Message |
Codec.decode(byte[] data) |
Message |
ConfirmationStatus.getMessage() |
| Modifier and Type | Method and Description |
|---|---|
Codec.EncodedMessage |
Codec.encode(Message message) |
void |
MessageHandler.handle(MessageHandler.Context context,
Message message)
Callback for an inbound message.
|
T |
ObservationCollector.prePublish(String stream,
Message message)
Start observation.
|
void |
ObservationCollector.published(T context,
Message message)
Callback when the message is about to be published.
|
List<String> |
RoutingStrategy.route(Message message,
RoutingStrategy.Metadata metadata)
Where to route a message.
|
void |
Producer.send(Message message,
ConfirmationHandler confirmationHandler)
Publish a message.
|
| Modifier and Type | Method and Description |
|---|---|
ProducerBuilder |
ProducerBuilder.filterValue(Function<Message,String> filterValueExtractor)
Logic to extract a filter value from a message.
|
ConsumerBuilder.FilterConfiguration |
ConsumerBuilder.FilterConfiguration.postFilter(Predicate<Message> filter)
Client-side filtering logic, occurring after the server-side filtering.
|
ProducerBuilder.RoutingConfiguration |
ProducerBuilder.routing(Function<Message,String> routingKeyExtractor)
Configure the routing for super streams (partitioned streams).
|
| Constructor and Description |
|---|
ConfirmationStatus(Message message,
boolean confirmed,
short code) |
| Modifier and Type | Method and Description |
|---|---|
Message |
WrapperMessageBuilder.build() |
protected Message |
SwiftMqCodec.createMessage(byte[] data) |
Message |
QpidProtonCodec.decode(byte[] data) |
Message |
SimpleCodec.decode(byte[] data) |
Message |
SwiftMqCodec.decode(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
Codec.EncodedMessage |
QpidProtonCodec.encode(Message message) |
Codec.EncodedMessage |
SimpleCodec.encode(Message message) |
Codec.EncodedMessage |
SwiftMqCodec.encode(Message message) |
| Modifier and Type | Method and Description |
|---|---|
MessageBatch |
MessageBatch.add(Message message) |
void |
Client.MessageListener.handle(byte subscriptionId,
long offset,
long chunkTimestamp,
long committedChunkId,
Object chunkContext,
Message message) |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
Client.publish(byte publisherId,
List<Message> messages) |
List<Long> |
Client.publish(byte publisherId,
List<Message> messages,
Client.OutboundEntityMappingCallback mappingCallback) |
List<Long> |
Client.publish(byte publisherId,
List<Message> messages,
Client.OutboundEntityMappingCallback mappingCallback,
ToLongFunction<Object> publishSequenceFunction) |
List<Long> |
Client.publish(byte publisherId,
List<Message> messages,
ToLongFunction<Object> publishSequenceFunction) |
| Constructor and Description |
|---|
MessageBatch(Compression compression,
List<Message> messages) |
Copyright © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.