You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2014/03/26 07:49:14 UTC

[jira] [Updated] (SM-2269) ActiveMQ quick start doesn't work due to the missing activemq component

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

Krzysztof Sobkowiak updated SM-2269:
------------------------------------

    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

{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

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


> ActiveMQ quick start doesn't work due to the missing activemq component
> -----------------------------------------------------------------------
>
>                 Key: SM-2269
>                 URL: https://issues.apache.org/jira/browse/SM-2269
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 5.0.0
>            Reporter: Krzysztof Sobkowiak
>            Priority: Minor
>             Fix For: 5.0.1
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)