Class IncomingJmsMessage<T>
- java.lang.Object
-
- io.smallrye.reactive.messaging.jms.IncomingJmsMessage<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>
ack()
Supplier<CompletionStage<Void>>
getAck()
Metadata
getMetadata()
T
getPayload()
<C> C
unwrap(Class<C> unwrapType)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
addMetadata, getMetadata, getNack, nack, nack, withAck, withMetadata, withMetadata, withNack, withPayload
-
-
-
-
Method Detail
-
getPayload
public T getPayload()
- Specified by:
getPayload
in interfaceMessage<T>
-
ack
public CompletionStage<Void> ack()
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadata
in interfaceMessage<T>
-
-