camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: camel-protobuf and protobuf 2.5
Date Sun, 16 Mar 2014 11:05:36 GMT
Hi

Yeah we had a ticket about that
https://issues.apache.org/jira/browse/CAMEL-3933

I have recompiled the sample code with the 2.5 compiler and upgrading
the karaf features. So we should make this into the upcoming 2.13
release.

On Sun, Mar 16, 2014 at 11:21 AM, Cristiano Costantini
<cristiano.costantini@gmail.com> wrote:
> Hi All,
>
> I see that the camel-protobuf karaf feature is using protobuf 2.3:
>
> karaf@root> features:info camel-protobuf
> Description of camel-protobuf 2.12.3 feature
> ----------------------------------------------------------------
> Feature has no configuration
> Feature has no configuration files
> Feature depends on:
>   camel-core 2.12.3
> Feature contains followed bundles:
>  mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.protobuf-java/2.3.0_3
> start-level=50
>  mvn:org.apache.camel/camel-protobuf/2.12.3 start-level=50
>
>
> As I use protobuf 2.5.0, I've tried manually to install latest protobuf
> (note it is natively OSGi):
> install -s mvn:com.google.protobuf/protobuf-java/2.5.0
>
> and then manually install camel-protobuf:
> install -s mvn:org.apache.camel/camel-protobuf/2.12.3
>
>
> This is an empirical test but I then was able to successfully unmarshal (
> https://github.com/cristcost/sensormix/blob/master/sensormix-integration-bundle/src/main/resources/META-INF/spring/beans-routes.xml#L65)
> the class generated using protobuf 2.5.0 (
> https://github.com/cristcost/sensormix/blob/master/sensormix-integration-bundle/src/main/java/com/google/developers/gdgfirenze/protobuf/SensormixProtos.java
> )
>
> I wonder why the feature is still installing protobuf 2.3.0 and what else
> could be missing to upgrade it. ;-)
>
> Regards,
> Cristiano



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message