activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4325) camel doen't honor credentials set on activemqcomponent bean via spring
Date Sat, 02 Nov 2013 18:57:18 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812113#comment-13812113
] 

Claus Ibsen commented on AMQ-4325:
----------------------------------

It works if you do not use that factory-method, eg

{code}
  <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
    <property name="brokerURL" value="vm://testBroker"/>
    <property name="userName" value="admin"/>
    <property name="password" value="secret"/>
  </bean>
{code}

> camel doen't honor credentials set on activemqcomponent bean via spring
> -----------------------------------------------------------------------
>
>                 Key: AMQ-4325
>                 URL: https://issues.apache.org/jira/browse/AMQ-4325
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-camel
>    Affects Versions: 5.8.0
>         Environment: activemq 5.8.0
>            Reporter: Kot Kot
>            Assignee: Claus Ibsen
>             Fix For: 5.10.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message