Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4325

camel doen't honor credentials set on activemqcomponent bean via spring

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.8.0
    • 5.9.1, 5.10.0
    • Camel
    • None
    • activemq 5.8.0

    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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            kotkot Kot Kot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: