Description
I use this configuration to create activemq component.
<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent" factory-method="activeMQComponent">
<constructor-arg index="0" value="${grabber.broker.url}" />
<property name="useMessageIDAsCorrelationID" value="true"/>
<property name="userName" value="system"/>
<property name="password" value="manager"/>
</bean>
Endpoint url doesn't have username and password set which results jms client not being able to connect to broker which responds with "username is null".
Setting username and password in endpoint url works