Many JMS providers let you customize that on the ConnectionFactory.

BTW the Camel sub project has its own forums/mailing lists...
http://activemq.apache.org/camel/discussion-forums.html

On 23/11/2007, James Strachan <[EMAIL PROTECTED]> wrote:
> can you configure the user and password on the connection factory?
>
> On 23/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> 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-tf4861290s2354.html#a13911140
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
> >
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to