public interface InternalMessage extends TracedMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
InternalMessage |
copyOf() |
UUID |
getId() |
String |
getMessageQueueAffinityKey() |
ByteBuffer |
getPayload() |
<T> T |
getPayload(MessageDeserializer<T> deserializer) |
String |
getPayloadClass() |
List<ActorRef> |
getReceivers() |
ActorRef |
getSender() |
int |
getTimeout() |
boolean |
hasPayloadObject() |
boolean |
hasSerializedPayload() |
boolean |
isDurable() |
boolean |
isUndeliverable() |
byte[] |
toByteArray() |
getType, getTypeAsStringgetCreationContext, getTraceContextstatic final int NO_TIMEOUT
UUID getId()
@Nullable ActorRef getSender()
getSender in interface TracedMessageByteBuffer getPayload()
String getPayloadClass()
boolean isDurable()
byte[] toByteArray()
<T> T getPayload(MessageDeserializer<T> deserializer) throws IOException
IOExceptionboolean isUndeliverable()
InternalMessage copyOf()
int getTimeout()
boolean hasSerializedPayload()
boolean hasPayloadObject()
Copyright © 2021. All rights reserved.