09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Required elements are shown in bold in Table 17–2.<br />

All JMS messages consist of the following common elements:<br />

oracle_jms_properties, which consists of<br />

<br />

type—type of the message<br />

The Internet Data Access Presentation (IDAP)<br />

Table 17–2 JMS Types and XML Components: Payload Types Used for Queues/Topics<br />

AQ$_JMS_TEXT_<br />

MESSAGE<br />

AQ$_JMS_MAP_<br />

MESSAGE<br />

reply_to—consists of an agent_name, address, and protocol<br />

userid—supplied by AQ; client cannot specify<br />

appid—application identifier<br />

groupid—group identifier<br />

AQ$_JMS_BYTES_<br />

MESSAGE<br />

AQ$_JMS_OBJECT_<br />

MESSAGE<br />

jms_text_message jms_map_message jms_bytes_message jms_object_message<br />

oracle_jms_<br />

properties<br />

oracle_jms_<br />

properties<br />

oracle_jms_<br />

properties<br />

oracle_jms_<br />

properties<br />

user_properties user_properties user_properties user_properties<br />

text_data—string<br />

representing the text<br />

payload<br />

map_data—set of<br />

name-value pairs called<br />

items, consisting of:<br />

name<br />

<br />

int_value or<br />

<br />

string_value or<br />

long_value or<br />

double_value or<br />

boolean_value or<br />

float_value or<br />

short_value or<br />

byte_value<br />

bytes_data—hex<br />

representation of the<br />

payload bytes<br />

ser_object_data—hex<br />

representation of the<br />

serialized object<br />

group_sequence—sequence within the group identified by group_id<br />

timestamp—the time the message was sent, which cannot be specified<br />

<br />

during enqueue. It is automatically populated in a message that is<br />

dequeued.<br />

Internet Access to <strong>Advanced</strong> <strong>Queuing</strong> 17-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!