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.

Reply via email to