Upgrading only AMQ broker in OSGi container with Camel

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Upgrading only AMQ broker in OSGi container with Camel

Raul Kripalani-2
Hello guys,

When installing AMQ 5.9.0 on Karaf, it seems that all AMQ packages are now
contained in a single activemq-osgi bundle, including the Camel component.

[ 477] [Active     ] [Created     ] [       ] [   50] activemq-osgi (5.9.0)
> exports 477 | grep camel
   477 org.apache.activemq.camel.component.broker; version=5.9.0
   477 org.apache.activemq.camel; version=5.9.0
   477 org.apache.activemq.camel.converter; version=5.9.0
   477 org.apache.activemq.camel.component; version=5.9.0

Why did AMQ shift away from the modularized architecture that cleanly
separated AMQ and Camel elements?

As a consequence, it's now impossible to upgrade only AMQ, because doing so
drags along an updated Camel component which may rely on Camel APIs which
were introduced later. In fact, this is the case when upgrading from AMQ
5.8.0 => 5.9.0 within an environment with Camel 2.10. Note this exception:

Caused by: java.lang.ClassNotFoundException:
org.apache.camel.spi.EndpointCompleter not found by
org.apache.camel.camel-core [130]


Am I overlooking something?

Moreover, it seems that installing the activemq-client feature ends up
installing the activemq-osgi bundle which, once again, contains all broker
packages. What happened to the OSGi spirit? ;-)

Regards,

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk
Reply | Threaded
Open this post in threaded view
|

Re: Upgrading only AMQ broker in OSGi container with Camel

Richard Kettelerij
I'm wondering the same thing.

The activemq-client feature doesn't look very lightweight, it includes a
10MB activemq-osgi JAR was well as dependencies such as Zookeeper, which I
would expect to seein a separate "activemq-client-ha" feature.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Upgrading-only-AMQ-broker-in-OSGi-container-with-Camel-tp4674930p4675089.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrading only AMQ broker in OSGi container with Camel

Richard Kettelerij
In reply to this post by Raul Kripalani-2
I'm wondering the same thing.

The activemq-client feature doesn't look very lightweight, it includes a 10MB activemq-osgi JAR was well as dependencies such as Zookeeper, which I would expect to seein a separate "activemq-client-ha" feature.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrading only AMQ broker in OSGi container with Camel

jbonofre
In reply to this post by Richard Kettelerij
Hi Richard,

it sounds good indeed.

I gonna take a look on that.

Regards
JB

On 12/04/2013 01:58 PM, Richard Kettelerij wrote:

> I'm wondering the same thing.
>
> The activemq-client feature doesn't look very lightweight, it includes a
> 10MB activemq-osgi JAR was well as dependencies such as Zookeeper, which I
> would expect to seein a separate "activemq-client-ha" feature.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Upgrading-only-AMQ-broker-in-OSGi-container-with-Camel-tp4674930p4675089.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: Upgrading only AMQ broker in OSGi container with Camel

Raul Kripalani-2
Hi JB,

I spoke to Dejan on IRC and created a ticket for this:
https://issues.apache.org/jira/browse/AMQ-4909.

Regards,

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

On Wed, Dec 4, 2013 at 1:03 PM, Jean-Baptiste Onofré <[hidden email]>wrote:

> Hi Richard,
>
> it sounds good indeed.
>
> I gonna take a look on that.
>
> Regards
> JB
>
>
> On 12/04/2013 01:58 PM, Richard Kettelerij wrote:
>
>> I'm wondering the same thing.
>>
>> The activemq-client feature doesn't look very lightweight, it includes a
>> 10MB activemq-osgi JAR was well as dependencies such as Zookeeper, which I
>> would expect to seein a separate "activemq-client-ha" feature.
>>
>>
>>
>> --
>> View this message in context: http://activemq.2283324.n4.
>> nabble.com/Upgrading-only-AMQ-broker-in-OSGi-container-with-
>> Camel-tp4674930p4675089.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Reply | Threaded
Open this post in threaded view
|

Re: Upgrading only AMQ broker in OSGi container with Camel

jbonofre
Awesome, thanks a lot !

Regards
JB

On 12/04/2013 02:30 PM, Raul Kripalani wrote:

> Hi JB,
>
> I spoke to Dejan on IRC and created a ticket for this:
> https://issues.apache.org/jira/browse/AMQ-4909.
>
> Regards,
>
> *Raúl Kripalani*
> Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
> Integration specialist
> http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> http://blog.raulkr.net | twitter: @raulvk
>
> On Wed, Dec 4, 2013 at 1:03 PM, Jean-Baptiste Onofré <[hidden email]>wrote:
>
>> Hi Richard,
>>
>> it sounds good indeed.
>>
>> I gonna take a look on that.
>>
>> Regards
>> JB
>>
>>
>> On 12/04/2013 01:58 PM, Richard Kettelerij wrote:
>>
>>> I'm wondering the same thing.
>>>
>>> The activemq-client feature doesn't look very lightweight, it includes a
>>> 10MB activemq-osgi JAR was well as dependencies such as Zookeeper, which I
>>> would expect to seein a separate "activemq-client-ha" feature.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://activemq.2283324.n4.
>>> nabble.com/Upgrading-only-AMQ-broker-in-OSGi-container-with-
>>> Camel-tp4674930p4675089.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com