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.

J2EE Compliance<br />

General Features of JMS<br />

In release 9.2, <strong>Oracle</strong> JMS conforms to the Sun Microsystems JMS 1.0.2b standard.<br />

You can define the J2EE compliance mode for an OJMS client at run time. For<br />

compliance, set the Java property "oracle.jms.j2eeCompliant" to TRUE as a<br />

command line option. For noncompliance, do nothing. FALSE is the default value.<br />

New features in release 9.2 support J2EE compliance and are also available in the<br />

noncompliant mode. These include support for:<br />

Nontransacted sessions<br />

Nondurable subscribers<br />

Temporary queues and topics<br />

Nonpersistent delivery mode<br />

Multiple JMS messages types on a single JMS queue or topic (using AQ queues<br />

<br />

of the AQ$_JMS_MESSAGE type)<br />

The noLocal option for durable subscribers<br />

See Also: Java Message Service Specification, version 1.0.2b,<br />

published by Sun Microsystems, Inc.<br />

Features of JMSPriority, JMSExpiration, and nondurable subscribers vary<br />

depending on which mode you use.<br />

JMSPriority<br />

JMSPriority values depend on whether you are running the default,<br />

noncompliant mode or the compliant mode, in which you set the compliance flag to<br />

TRUE:<br />

In noncompliant mode, java.lang.Integer.MAX_VALUE is the lowest<br />

<br />

priority, java.lang.Integer.MIN_VALUE is the highest priority, and 1 is<br />

the default priority.<br />

In compliant mode, 0 is the lowest priority, 9 is the highest priority, and 4 is the<br />

<br />

default priority.<br />

JMSExpiration<br />

JMSExpiration values depend on whether you are running the default,<br />

noncompliant mode or the compliant mode, in which you set the compliance flag to<br />

TRUE:<br />

Creating Applications Using JMS 12-3

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

Saved successfully!

Ooh no, something went wrong!