public final class ContextMessageBridge extends NativeBridge implements ContextMessage
ContextMessage.| Constructor and Description |
|---|
ContextMessageBridge(ContextMessage contextMessage) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
get()
Message payload.
|
String |
getId()
Returns an identifier of this object.
|
String |
getMessageSourceID() |
long |
getSequenceNumber() |
onErrorpublic ContextMessageBridge(ContextMessage contextMessage)
public void close() throws Exception
close in interface AutoCloseableExceptionpublic byte[] get()
Messageget in interface ContextMessageget in interface Messagepublic String getId()
IdentifiablegetId in interface ContextMessagegetId in interface Identifiablepublic String getMessageSourceID()
getMessageSourceID in interface ContextMessagepublic long getSequenceNumber()
getSequenceNumber in interface ContextMessagegetSequenceNumber in interface NumberableCopyright © 2017 The Apache Software Foundation. All rights reserved.