This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm currently working on an "enterprise" system which makes a lot of use of JMS messaging. Testing this is system is turning out to be an irritating job using Java, as we have to compile locally then laboriously and manually sftp class files to the production server in order to run them.
I'd love to have access to a decent scripting language to speed up this process, and Ruby is my current favourite.
So, has anyone else used Ruby or JRuby to connect, send and recieve JMS messages? Any suggestions of pre-written libraries or examples?
If such things exist for another scripting language I'd consider that too, provided it runs on Solaris and installs/runs from a regular user account.
Originally posted by Pradip Bhat: How well does a jms message map to jruby messages? Do they intergrate fine?
There is no mapping involved. With JRuby, you're running on a JVM and the message object you manipulate is essentially the same message object that you would manipulate with pure Java. There's just a bit of Reflection-based magic in between to delegate method calls inside the JRuby interpreter into method calls in the JVM.