camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Broker definition - activemq.xml - Fuse 6
Date Sun, 01 Jun 2014 07:08:29 GMT
Hi

Please use the vendor user forum for discussing their product
http://community.jboss.org/en/jbossfuse


On Sun, Jun 1, 2014 at 8:29 AM, Happy User <happyuser828612@gmail.com> wrote:
> Thanks for your reply but yeah I have already defined the bean in
> activemq.xml with the credentials as admin/admin :( Even then am getting
> this  javax.jms.JMSSecurityException: User name [null] or password is
> invalid.
>
>
>
>
> On Sun, Jun 1, 2014 at 6:34 AM, boday <ben.oday@initekconsulting.com> wrote:
>
>> sounds like you need to either disable security in the activemq.xml or
>> setup
>> your Camel AMQ factory with the user/pw provided...
>>
>>     <bean id="activemq"
>> class="org.apache.activemq.camel.component.ActiveMQComponent" >
>>         <property name="connectionFactory">
>>           <bean class="org.apache.activemq.ActiveMQConnectionFactory">
>>             <property name="brokerURL" value="vm://localhost?create=false"
>> />
>>             <property name="userName" value="system"/>
>>             <property name="password" value="manager"/>
>>           </bean>
>>         </property>
>>     </bean>
>>
>>
>> Happy User wrote
>> > I am wondering if anyone can help me with this.
>> >
>> > I am accessing a topic using activeme:topic:TopicName in the
>> > blueprint.xml(camel) and I have defined the broker for activemq(bean) in
>> > activemq.xml in FUSE 6. But I am getting exception as username null or
>> > password is invalid.
>> >
>> > So, when I defined the activemq bean in my blueprint itself, everything
>> > worked fine. Since I have around 40 blueprints in my projects which
>> access
>> > the same broker, it doesnt sound good to repeat the activemq bean
>> > definition in all the bluprints. It would be ideal to define broker bean
>> > in
>> > activemq.xml for once and just access the topci in all the blueprints I
>> > need.
>> >
>> > So what am I missing here?
>>
>>
>>
>>
>>
>> -----
>> Ben O'Day
>> IT Consultant -http://consulting-notes.com
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Broker-definition-activemq-xml-Fuse-6-tp5751782p5751786.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message