-
Field Summary
Fields inherited from interface org.eclipse.microprofile.reactive.messaging.Message
LOGGER
-
Method Summary
from(org.eclipse.microprofile.reactive.messaging.Message<T> message)
Creates a new outgoing Pulsar message.
long
byte[]
byte[]
long
boolean
Creates a new outgoing Pulsar message.
of(T payload,
byte[] keyBytes)
Creates a new outgoing Pulsar message.
Creates a new outgoing Pulsar message.
Creates a new outgoing Pulsar message.
Methods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
ack, addMetadata, getAck, getMetadata, getMetadata, getNack, getPayload, nack, nack, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload
-
Method Details
-
from
Creates a new outgoing Pulsar message.
- Type Parameters:
T - the type of the value
- Parameters:
message - the incoming message
- Returns:
- the new outgoing Pulsar message
-
of
Creates a new outgoing Pulsar message.
- Type Parameters:
T - the type of the value
- Parameters:
payload - the payload of the message
- Returns:
- the new outgoing Pulsar message
-
of
Creates a new outgoing Pulsar message.
- Type Parameters:
T - the type of the value
- Parameters:
payload - the payload of the message
key - the key of the message
- Returns:
- the new outgoing Pulsar message
-
of
Creates a new outgoing Pulsar message.
- Type Parameters:
T - the type of the value
- Parameters:
payload - the payload of the message
keyBytes - the key of the message in bytes
- Returns:
- the new outgoing Pulsar message
-
-
-
getKeyBytes
byte[] getKeyBytes()
-
-
getOrderingKey
byte[] getOrderingKey()
-
-
getEventTime
long getEventTime()
-
getSequenceId
long getSequenceId()