ServiceMix
  1. ServiceMix
  2. SM-2269

ActiveMQ quick start doesn't work due to the missing activemq component

    Details

      Description

      The activemq sample described in quick start (http://servicemix.apache.org/docs/5.0.x/quickstart/activemq.html) doesn't work with ServiceMix 5.0.0. It looks like the activemq component is not registered. Adding one of the following snippets to both routes solves the problem

      <reference id="connectionFactory" interface="javax.jms.ConnectionFactory" />
      <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
              <property name="connectionFactory" ref="connectionFactory" />
      </bean>
      
      <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
              <property name="brokerURL" value="tcp://localhost:61616"/>
      	<property name="userName" value="smx"/>
      	<property name="password" value="smx"/>
      </bean>
      

      As described by user reporting this problem, the quick start works with ServiceMix 4.5.3 without additional registering of the activemq component.

      As described by the user, the camle-jms component must be also installed manually (in opposite to 4.5.3)

      We should solve these issues or update the quick start.

      Cfr. http://servicemix.396122.n5.nabble.com/ANNOUNCE-Apache-ServiceMix-5-0-0-released-td5719674.html for more information

      1. SM-2269-update-quick-start.patch
        1 kB
        Krzysztof Sobkowiak
      2. error-by-route-deploying.txt
        5 kB
        Krzysztof Sobkowiak
      3. 0001-SM-2269-registering-activemq-component-in-activemq-s.patch
        3 kB
        Krzysztof Sobkowiak
      4. 0001-SM-2269-install-camel-jms-component.patch
        2 kB
        Krzysztof Sobkowiak
      5. 0001-SM-2269-ActiveMQ-quick-start-doesn-t-work-due-to-the.patch.txt
        14 kB
        Krzysztof Sobkowiak

        Issue Links

          Activity

          Krzysztof Sobkowiak created issue -
          Krzysztof Sobkowiak made changes -
          Field Original Value New Value
          Description The activemq sample described in quick start (http://servicemix.apache.org/docs/5.0.x/quickstart/activemq.html) doesn't work with ServiceMix 5.0.0. It looks like the activemq component is not registered. Adding following snippet to both routes solves the problem

          {code}
          <reference id="connectionFactory" interface="javax.jms.ConnectionFactory" />
          <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
                  <property name="brokerURL" value="tcp://localhost:61616"/>
          <property name="userName" value="smx"/>
          <property name="password" value="smx"/>
          </bean>
          {code}

          As described by user reporting this problem, the quick start works with ServiceMix 4.5.3 without additional registering of the activemq component.

          As described by the user, the camle-jms component must be also installed manually (in opposite to 4.5.3)

          We should solve these issues or update the quick start.

          Cfr. http://servicemix.396122.n5.nabble.com/ANNOUNCE-Apache-ServiceMix-5-0-0-released-td5719674.html for more information
          The activemq sample described in quick start (http://servicemix.apache.org/docs/5.0.x/quickstart/activemq.html) doesn't work with ServiceMix 5.0.0. It looks like the activemq component is not registered. Adding one of the following snippets to both routes solves the problem

          {code}
          <reference id="connectionFactory" interface="javax.jms.ConnectionFactory" />
          <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
                  <property name="connectionFactory" ref="connectionFactory" />
          </bean>
          {code}

          {code}
          <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
                  <property name="brokerURL" value="tcp://localhost:61616"/>
          <property name="userName" value="smx"/>
          <property name="password" value="smx"/>
          </bean>
          {code}

          As described by user reporting this problem, the quick start works with ServiceMix 4.5.3 without additional registering of the activemq component.

          As described by the user, the camle-jms component must be also installed manually (in opposite to 4.5.3)

          We should solve these issues or update the quick start.

          Cfr. http://servicemix.396122.n5.nabble.com/ANNOUNCE-Apache-ServiceMix-5-0-0-released-td5719674.html for more information
          Krzysztof Sobkowiak made changes -
          Krzysztof Sobkowiak made changes -
          Attachment error-by-route-deploying.txt [ 12637262 ]
          Krzysztof Sobkowiak made changes -
          Attachment 0001-SM-2269-registering-activemq-component-in-activemq-s.patch [ 12637265 ]
          Krzysztof Sobkowiak made changes -
          Attachment 0001-SM-2269-registering-activemq-component-in-activemq-s.patch [ 12637265 ]
          Krzysztof Sobkowiak made changes -
          Krzysztof Sobkowiak made changes -
          Attachment SM-2269-update-quick-start.patch [ 12637270 ]
          Krzysztof Sobkowiak made changes -
          Fix Version/s 5.1.0 [ 12326660 ]
          Fix Version/s 6.0.0 [ 12326661 ]
          Krzysztof Sobkowiak made changes -
          Assignee Krzysztof Sobkowiak [ sobkowiak ]
          Krzysztof Sobkowiak made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Krzysztof Sobkowiak made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Krzysztof Sobkowiak made changes -
          Link This issue is related to SM-2289 [ SM-2289 ]
          Krzysztof Sobkowiak made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gert Vanthienen made changes -
          Link This issue relates to SM-2188 [ SM-2188 ]
          Krzysztof Sobkowiak made changes -
          Fix Version/s 6.0.0.M1 [ 12329337 ]

            People

            • Assignee:
              Krzysztof Sobkowiak
              Reporter:
              Krzysztof Sobkowiak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development