| Modifier and Type | Interface and Description |
|---|---|
static interface |
Message.Parser<T extends Message>
Deserializes messages of a specific type.
|
static interface |
MessageSubscriptionCreator.MessageHandler<M extends Message> |
| Modifier and Type | Method and Description |
|---|---|
<M extends Message> |
MessageSubscriptionCreator.onMessage(Class<M> messageClass,
MessageSubscriptionCreator.MessageHandler<M> messageHandler)
Registers a
MessageSubscriptionCreator.MessageHandler for the given Message type. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Message> |
MessageCodec.deserialize(com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body)
Deserializes the given
Message as received via AMQP. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
MessageCodec.serialize(com.rabbitmq.client.AMQP.BasicProperties.Builder propertiesBuilder,
Message message)
Serializes the given
Message for JSON-encoded transport over AMQP. |
| Modifier and Type | Method and Description |
|---|---|
MessageSubscriptionCreator |
MessageSubscriptionCreator.ignoringMessages(Collection<Class<? extends Message>> messageClasses)
Registers the given
Message types to be ignored. |
Copyright © 2025. All rights reserved.