viagra online viagra prices online

Camel + Oracle AQ + AQjmsException JMS-147

Posted by Seon on June 19, 2008

I’ve encountered a typo in the JMS package from Oracle while I was debugging a problem with multicast routing under Camel and Oracle AQ. It seems that Oracle may have slipped up and misnamed the “JMSXRcvTimeStamp” property as “JMSXRecvTimeStamp”. I don’t have access to the source code for the ORacle’s implementation of javax.jms.Message (AQjmsMessage), however I poked through the class file with a hexeditor and found instances of the typo.

According to the Java JMS 1.1 specification, this is a property that is set by the jms provider when a message is dequeued. The spelling of the property is listed as “JMSXRcvTimeStamp” on page 39 of the spec pdf. Oracle Streams Advanced Queuing User’s Guide and Reference
10g Release 2
document referencfes the correctly spelled property in section 11.2.2 however elsewhere in the same document it is incorrectly spelled. I’m pretty sure this is a bug in Oracle’s implementation of the Message interface. The document for Release 11g shows the same errors.

Additionally, I get the feeling that either Camel, Oracle or Spring is incorrectly setting null values for several standard JMS headers and properties when they are not assigned or not present. If null values are allowable under the JMS spec, then Oracle’s AQjmsMessage.setJMSReplyTo(Destination) should accept null parameters without exceptions also. Right now passing a null Destination value to method setJMSReplyTo(Destination) results in this exception:


oracle.jms.AQjmsException: JMS-147: Invalid ReplyTo destination type, or use of reserved `JMSReplyTo agent name, or serialization error with AQjmsDestination org.springframework.jms.UncategorizedJms

Here is the post I created in the Camel users forum relating to this issue.

Here is the JIRA issue I created for camel-jms: https://issues.apache.org/activemq/browse/CAMEL-618

Share

Woot! I beat out 1845 people!

Posted by Seon on June 12, 2008

I survived the first round and got a ticket to a weekly 1M final. The final tournament starts this coming Saturday. I can choose from 3 different time/schedules (morning, afternoon, evening) and fight for a free entry into the WSOP!

PokerStars Tournament #91110049, No Limit Hold'em
Freeroll Super Satellite
1895 players
Target Tournament #84389994
50 tickets to the target tournament

Tournament started - 2008/06/12 - 00:05:00 (ET)

Dear [snip],

You finished the tournament in 1st place.

This qualifies you for a seat in Tournament #84389994.
A ticket to this tournament was issued in your name. You can use this ticket
to register.
See Tournament #84389994 Lobby for further details.

Pokerstars is running these freerolls daily – once an hour every day until June 27th. You can read about it here http://www.pokerstars.net/poker/promotions/giveaway/

Fun fun!

Update

Knocked out towards the middle of the tournament. My stack was about 7BB and the table was loose as hell. Pushed with pocket 9s and unfortunately met a slow roller who limped with pocket As. Gotta try again next week! :)

Share