Activemessaging fails to load under JRuby
zmalltalker opened this issue · comments
I'm getting the error
NameError: cannot load Java class javax.jms.MessageListener
when I try to run a Rails app using Activemessaging (gem version 0.7.1), it seems a required jar file is missing. Any ideas on the best way to deal with this?
Cheers,
- Marius
I answered this to the google group - did you figure this out?
Sorry, no. I searched the activemessaging-discuss google group but couldn't find any reference to this - do have a URL to the thread in question?
I kind of made it work under JRuby by adding+requiring the jms.jar to activemessaging, but I'd like to know what you'd recommend for this.
We ran into the same problem -- I've fixed it by allowing the ActiveMessaging to skip the JMS adapter when there's no JMS jar available.
I'm not sure the JMS driver actually works -- there's a lot of commented-out code in there.
The JMS code was submitted some time ago, and hasn't been well maintained, so thanks for fixing this.
I merged in the pull requests on the JMS adapter.