Class OutgoingMessage<T>
java.lang.Object
io.smallrye.reactive.messaging.pulsar.OutgoingMessage<T>
- Type Parameters:
T
- value type
Pulsar outgoing message as payload
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> OutgoingMessage
<T> from
(org.apache.pulsar.client.api.Message<T> incoming) getKey()
byte[]
byte[]
boolean
org.apache.pulsar.client.api.transaction.Transaction
getValue()
boolean
hasKey()
static <T> OutgoingMessage
<T> withDeliverAt
(long deliverAt) withEventTime
(long eventTime) withKeyBytes
(byte[] keyBytes) withOrderingKey
(byte[] orderingKey) withProperties
(Map<String, String> properties) withReplicatedClusters
(List<String> replicatedClusters) withSequenceId
(long sequenceId) withTransaction
(org.apache.pulsar.client.api.transaction.Transaction txn) <O> OutgoingMessage
<O> withValue
(O value)
-
Constructor Details
-
OutgoingMessage
-
OutgoingMessage
-
-
Method Details
-
of
-
from
-
hasKey
public boolean hasKey() -
getKeyBytes
public byte[] getKeyBytes() -
withKeyBytes
-
getKey
-
withKey
-
getOrderingKey
public byte[] getOrderingKey() -
withOrderingKey
-
getProperties
-
withProperties
-
getReplicatedClusters
-
withReplicatedClusters
-
getReplicationDisabled
public boolean getReplicationDisabled() -
withDisabledReplication
-
getEventTime
-
withEventTime
-
getSequenceId
-
withSequenceId
-
getDeliverAt
-
withDeliverAt
-
getValue
-
withValue
-
getTransaction
public org.apache.pulsar.client.api.transaction.Transaction getTransaction() -
withTransaction
-