Gert,

Yeah  i remember the discussion we had on this. This is what i did. 

1) Wrote a java class which extends MQQueueConnectionFactory class and
overrides the createQueueConnection()   method. I gave my windows user
id/password in that. (IBM MQ was installed using the same.)

2) Created the jar file for this java class and kept in
Jboss-4.0.5.GA\server\default\lib folder.

3) Modified the xbean.xml of jms su. Please look at this.
  <jms:endpoint service="iq:jms"
                endpoint="endpoint"
                role="provider" 
                destinationStyle="queue"
                jmsProviderDestinationName="Q1.SQ"
                connectionFactory="#connectionFactory" />
                
  <bean id="connectionFactory" class="IQQueueConnectionFactory">
    <property name="queueManager" value="SampleQM1" />
    <property name="transportType" value="1" />
    <property name="hostName" value="localhost" />
    <property name="port" value="1417" />
  </bean>

IQQueueConnectionFactory is the jar file holding my java class.

Now when i deploy  my SA in jboss i'm getting exception in my
servicemix-shared component. It was mentioning "Unable to deploy
servicemix-shared component."

So this is where i'm stuck up. Right now jboss is throwing access violation
error. So cant get the actual stack trace.







-- 
View this message in context: 
http://www.nabble.com/Connecting-to-IBM-MQ-from-service-mix-tf4141411s12049.html#a11781759
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to