[ 
https://issues.apache.org/jira/browse/CAMEL-6083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kot Kot updated CAMEL-6083:
---------------------------

    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   

  was:
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"   

    
> camel doen't honor credentials set on activemqcomponent bean via spring
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-6083
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6083
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-activemq
>    Affects Versions: 2.10.3
>         Environment: activemq 5.8.0
>            Reporter: Kot Kot
>
> 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   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to