You can specify MCAUserID of your server connection channel SYSTEM.DEF.SVRCONN.
Pls check MQ Security manual. Viswanath Durbha wrote: > > Hi, > > I'm using ActiveMQ 5.0 snapshot version. I am trying to configure a > JMSComponent to connect to Websphere MQ in my activemq.xml file as > follows: > > <bean id="webspheremq" > class="org.apache.camel.component.jms.JmsComponent"> > <property name="connectionFactory"> > <bean class="com.ibm.mq.jms.MQQueueConnectionFactory"> > <property name="hostName" value="mqhost"/> > <property name="port" value="1417"/> > <property name="queueManager" value="QM1"/> > <property name="channel" value="SYSTEM.DEF.SVRCONN"/> > <property name="transportType" value="1"/> > </bean> > </property> > </bean> > > When I try to use this to create a camel route, then I get an exception as > following: > javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication > supplied for MQQueueManager > > I guess I have to pass in the userid and password for creating the > connection from the connection factory. How do I do it? > -- View this message in context: http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tp13911140s2354p14469696.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.