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)
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?