Oracle Streams and JMS: A dead combination?

Oracle Streams is supposedly a JMS implementation. After a month of waiting on Oracle support as to why some of the basic examples did not work I got:
Note:154777.1
Subject: Unable to Create Receiver on a Raw Queue
Type: PROBLEM
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 20-JUL-2001
Last Revision Date: 13-AUG-2001
* fact: Oracle Server – Enterprise Edition 8.1.7
* fact: Advanced Queuing (QUEUE)
* symptom: Runtime error using the Java Messaging Service (JMS)
* symptom: java.lang.NullPointerException
* symptom: oracle.jms.AQjmsSession.createReceiver(javax.jms.Queue)
* cause: Access to queues with a RAW payload via the JMS API is not supported.
fix:
1. Use the native Java API – oracle.AQ.* to access the RAW queue.
2. Use one of the predefined payload types for JMS. In this case SYS.AQ$
_JMS_TEXT_MESSAGE was used.
For more information on JMS and the Java AQ API, refer to :
Oracle8i Application Developer’s Guide – Advanced Queuing.
The native API is not deprecated. So all of this adds up to Oracle Streams and JMS being a dead combination on Oracle.

Published
Categorized as Java

By Greg Luck

As Terracotta’s CTO, Greg (@gregrluck) is entrusted with understanding market and technology forces and the business drivers that impact Terracotta’s product innovation and customer success. He helps shape company and technology strategy and designs many of the features in Terracotta’s products. Greg came to Terracotta on the acquisition of the popular caching project Ehcache which he founded in 2003. Prior to joining Terracotta, Greg served as Chief Architect at Australian online travel giant Wotif.com. He also served as a lead consultant for ThoughtWorks on accounts in the United States and Australia, was CIO at Virgin Blue, Tempo Services, Stamford Hotels and Resorts and Australian Resorts and spent seven years as a Chartered Accountant in KPMG’s small business and insolvency divisions. He is a regular speaker at conferences and contributor of articles to the technical press.