good! thank you for the feedback Claus, Cristiano
2014-03-16 12:05 GMT+01:00 Claus Ibsen <claus.ib...@gmail.com>: > 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.costant...@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: cib...@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 >