This deals with an issue that I probably created with the pull request https://github.com/reidmorrison/jruby-jms/pull/14 (oracle_a_q_connection_factory.rb line 19).
I am not certain if that was the only way to fix the Oracle AQ, and the connection.rb is probably not the place to fix this issue. By the way, that works :-)
There is probably a better way to fix the oracle_a_q_connection_factory.rb, and not to modify the connection.rb.