Hi,

I am trying to create jms provider to pass xml messages to Websphere
mq(version5.3). I have following provider configurations in my xbean.xml

<jms:endpoint service="esb:MQProvider"                                          
        endpoint="MQProviderEndPoint"                                           
connectionFactory="#mqConnectionFactory"                                        
                role="provider" />

I have following dependencies in my pom.xml declared 

<dependency>
      <groupId>com.ibm.mq.connector</groupId>
      <artifactId>connector</artifactId>
      <version>5.3</version>
      <type>jar</type>
      
    </dependency>
     <dependency>
      <groupId>com.ibm.mqjms</groupId>
      <artifactId>com.ibm.mqjms</artifactId>
      <version>5.3</version>
      <type>jar</type>
      
    </dependency>
    <dependency>
      <groupId>com.ibm.mq</groupId>
      <artifactId>com.ibm.mq</artifactId>
      <version>5.3</version>
      <type>jar</type>
      
    </dependency>

When it builds service assembly it complaints following:
Bean 'mqConnectionFactory'; nested exception is
java.lang.NoClassDefFoundError: javax/jms/QueueConnectionFactory

I have tried to keep jms.jar in smx/lib/optional too but it result into same
error. I tried to deploy it on smx3.2.3 and it successfully deployed on it.
Is there someone else faced this issue with smx3.3.2? 




-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/Servicemix-jms-component-with-websphere-MQ-could-not-find-jms-jar-tp2256692p2256692.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to