AQMessage - Oracle 9i

This interface contains methods for AQ messages with raw or object payloads.

Methods

getMessageId

public byte[] getMessageId() throws AQException

This method gets the message id.

getRawPayload

public AQRawPayload getRawPayload() throws AQException

This method gets the raw payload

Returns

AQRawPayload object

setRawPayload

public void setRawPayload(AQRawPayload message_payload)
throws AQException

This method sets the raw payload. It throws AQException if this is called on messages created from object type queues.

setRawPayload

getObjectPayload

public AQObjectPayload getObjectPayload() throws AQException

Get the object payload

Returns

AQObjectPayload object

setObjectPayload

public void setObjectPayload(AQObjectPayload message_payload)
throws AQException

Set the object payload.

setObjectPayload

getMessageProperty

public AQMessageProperty getMessageProperty() throws AQException

This method gets the message properties

Returns

AQMessageProperty object

setMessageProperty

public void setMessageProperty(AQMessageProperty property)
throws AQException

This method sets the message properties.

setMessageProperty


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics