Hello,

I am trying to define a new JMS SU with a MQ implementation.

In the xbean.xml file I have :
    <classpath>
        <location>.</location>
    </classpath>
                  
   <jms:endpoint service="foo:MyMQService"
    endpoint="mq"
    targetService="foo:MyConsumerService"
    targetEndpoint="myConsumer"
    role="consumer"
    destinationStyle="queue"
    jmsProviderDestinationName="PPQUEUE"
    connectionFactory="#mqConnectionFactory"
    defaultMep="http://www.w3.org/2004/08/wsdl/in-only"; />

  <bean id="mqConnectionFactory"
class="com.ibm.mq.jms.MQQueueConnectionFactory">
    <property name="transportType">
      <util:constant
static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP" />
    </property>
    <property name="queueManager" value="WASQM" />
    <property name="hostName" value="171.26.122.84" />
    <property name="channel" value="SYSTEM.ADMIN.SRVCONN" />
    <property name="port" value="1414" />
  </bean>

I get the com.ibm.mqjms.jar file from MQ env (wherein I have the class
com.ibm.mq.jms.MQQueueConnectionFactory).

I don't know where I have to put this file in order to run correctly : mvn
install command (without any Caused by: java.lang.ClassNotFoundException:
com.ibm.mq.jms.MQQueueConnectionFactory)

Is that someone could help me?

thks a lot

Valery
-- 
View this message in context: 
http://www.nabble.com/compilation-problem-tp23722422p23722422.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to