Hi, I'm trying to send message from client to server using jms component but I've been facing following error :
| ERROR | SpringOsgiExtenderThread-8 | ContextLoaderListener | 125 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com.mycom.test.TestAdapterFileToMQ, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'properties' defined in OSGi resource[classpath:/META-INF/ipla/ipla-context.xml|bnd.id=559|bnd.sym=com.mycom.test.TestAdapterFileToMQ]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camel-1': Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter] for bean with name 'jmsQueueConnectionFactory' defined in URL [bundle://559.0:0/META-INF/spring/Test_Adapter_Beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter not found from bundle [com.newgens.ntx.TestAdapterFileToMQ] do i have to use jmstemplate as i'm using mqqueueconnectionfactory? or is there any other way i can specify username and password for my mq connection from client to server? Thanks, Claire -- View this message in context: http://camel.465427.n5.nabble.com/jms-ibm-mq-tp5775352.html Sent from the Camel - Users mailing list archive at Nabble.com.
