Package com.turtlequeue
Interface Message<T>
-
- All Known Implementing Classes:
MessageImpl
public interface Message<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Void>acknowledge()ClientgetClient()Consumer<T>getConsumer()TgetData()TimeUnitgetDelayTimeUnit()LonggetDelayValue()LonggetEventTime()StringgetKey()MessageIdgetMessageId()Producer<T>getProducer()StringgetProducerName()Map<String,String>getProperties()LonggetPublishTime()IntegergetRedeliveryCount()StringgetReplicatedFrom()TopicgetTopic()booleanisReplicated()
-
-
-
Method Detail
-
getClient
Client getClient()
-
getData
T getData()
-
getProducerName
String getProducerName()
-
getEventTime
Long getEventTime()
-
getTopic
Topic getTopic()
-
getKey
String getKey()
-
getMessageId
MessageId getMessageId()
-
acknowledge
CompletableFuture<Void> acknowledge()
-
getPublishTime
Long getPublishTime()
-
getRedeliveryCount
Integer getRedeliveryCount()
-
isReplicated
boolean isReplicated()
-
getReplicatedFrom
String getReplicatedFrom()
-
getDelayTimeUnit
TimeUnit getDelayTimeUnit()
-
getDelayValue
Long getDelayValue()
-
-