public class HQMessage extends Object implements ReplyableMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_PROPERTY |
protected static String |
REQUEST_ID_PROPERTY |
protected static String |
REQUEST_NODE_ID_PROPERTY |
protected static String |
SYNC_PROPERTY |
protected static String |
SYNC_RESPONSE_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acknowledge() |
Object |
body() |
String |
contentType() |
static String |
contentType(javax.jms.Message message) |
Destination |
endpoint() |
String |
id() |
javax.jms.Message |
jmsMessage() |
protected String |
nodeID() |
Map<String,Object> |
properties() |
void |
reply(Object content,
Codec codec,
Map<Destination.MessageOpOption,Object> options) |
protected Options<Destination.MessageOpOption> |
replyOptions(Map<Destination.MessageOpOption,Object> options) |
protected String |
requestID() |
public static final String CONTENT_TYPE_PROPERTY
protected static final String SYNC_PROPERTY
protected static final String SYNC_RESPONSE_PROPERTY
protected static final String REQUEST_ID_PROPERTY
protected static final String REQUEST_NODE_ID_PROPERTY
public String contentType()
contentType in interface Messagepublic static String contentType(javax.jms.Message message)
public Map<String,Object> properties()
properties in interface Messagepublic Destination endpoint()
public boolean acknowledge()
throws Exception
acknowledge in interface MessageExceptionpublic void reply(Object content, Codec codec, Map<Destination.MessageOpOption,Object> options) throws Exception
reply in interface ReplyableMessageExceptionprotected String requestID()
protected String nodeID()
protected Options<Destination.MessageOpOption> replyOptions(Map<Destination.MessageOpOption,Object> options) throws Exception
Exceptionpublic javax.jms.Message jmsMessage()
Copyright © 2015. All Rights Reserved.