public class JndiMessage extends Object
| Constructor and Description |
|---|
JndiMessage() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getPayload()
Get the message payload.
|
int |
getResponseCode()
Get the numeric response code from a JNDI response.
|
String |
getResponseString()
Get the response string from a JNDI response.
|
void |
setPayload(byte[] payloadBytes)
Set the message payload for a JNDI request.
|
String |
toString() |
public byte[] getPayload()
public int getResponseCode()
public String getResponseString()
public void setPayload(byte[] payloadBytes)
If this is a JNDI response message, the payload is read-only and calling
this method results in an IllegalAccessError.
payloadBytes - Payload to set on the request. It is copied into the message.Copyright 2004-2020 Solace Corporation. All rights reserved.