M
- The type of the event message this converter will convert.DeadLetterJpaConverter
which
moved to jakarta.@Deprecated public interface DeadLetterJpaConverter<M extends EventMessage<?>>
EventMessage
to a DeadLetterEventEntry
and vice versa.Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(DeadLetterEventEntry message)
Deprecated.
Check whether this converter supports the given
DeadLetterEventEntry . |
boolean |
canConvert(M message)
Deprecated.
Check whether this converter supports the given
EventMessage . |
M |
convert(DeadLetterEventEntry entry,
Serializer eventSerializer,
Serializer genericSerializer)
Deprecated.
Converts a
DeadLetterEventEntry to a EventMessage implementation. |
DeadLetterEventEntry |
convert(M message,
Serializer eventSerializer,
Serializer genericSerializer)
Deprecated.
Converts an
EventMessage implementation to a DeadLetterEventEntry . |
DeadLetterEventEntry convert(M message, Serializer eventSerializer, Serializer genericSerializer)
EventMessage
implementation to a DeadLetterEventEntry
.message
- The message to convert.eventSerializer
- The Serializer
for serialization of payload and metadata.genericSerializer
- The Serializer
for serialization of the token, if present.DeadLetterEventEntry
M convert(DeadLetterEventEntry entry, Serializer eventSerializer, Serializer genericSerializer)
DeadLetterEventEntry
to a EventMessage
implementation.entry
- The database entry to convert to a EventMessage
eventSerializer
- The Serializer
for deserialization of payload and metadata.genericSerializer
- The Serializer
for deserialization of the token, if present.DeadLetterEventEntry
boolean canConvert(DeadLetterEventEntry message)
DeadLetterEventEntry
.message
- The message to check support for.boolean canConvert(M message)
EventMessage
.message
- The message to check support for.Copyright © 2010–2024. All rights reserved.