reidmorrison / jruby-jms

Complete JRuby API into Java Messaging Specification (JMS)
Apache License 2.0
47 stars 21 forks source link

Connecting to WebsphereMQ using bindings file #9

Closed larryFrenchy closed 11 years ago

larryFrenchy commented 12 years ago

Hi there,

I am pretty new to the ruby world and am already very impressed! I am using ruby-jms to connect to multiple vendor in order to set up a BDD framework. Exiting.

However I am having trouble to connect to MQ server using the binding file.

here is my jms.yml configuration: wmq: :jndi_name: JNDI-Directory :jndi_context: java.naming.factory.initial: com.sun.jndi.fscontext.FSContextFactory java.naming.context.url: file:///JNDI-Directory :require_jars:

My bindings files are located in the c:/JNDI-Directory.

It is trying to instantiate the following to create the connection from the sun jndi Context Factory which isn't a Connection Factory. undefined method `create_connection' for #Java::ComSunJndiFscontext::FSContext:0x18f73cb (NoMethodError)

How can you help?

reidmorrison commented 11 years ago

Should be working now with the fixes for Issue #10 by Andrea Paolini