[VOTE] Release Apache Camel 2.10.0

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

[VOTE] Release Apache Camel 2.10.0

hadrian
A new release candidate apache-camel-2.10.0 final is out with
approximately 473 issues resolved so far: improvements and bug fixes [1].

Please find the staging repo here:
https://repository.apache.org/content/repositories/orgapachecamel-251/

The tarballs are here
https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/

Tag:
http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/

Please review, help out with testing and vote to approve this release
binary. Your vote counts!

[ ] +1 Release the binary as Apache Camel 2.10.0
[ ] -1 Veto the release (provide specific comments)
Vote is open for at least 72 hours.

Here's my +1.
Hadrian

[1]
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612

--
Hadrian Zbarcea
Principal Software Architect
Talend, Inc
http://coders.talend.com/
http://camelbot.blogspot.com/
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
Hi

I upgraded the source code for Camel in Action book, and gave the
2.10.0 a test spin.

The few migration pains was that camel-test dependency is now
camel-test-spring if you use Spring for testing.
This is expected and also on the release notes.

The issue I found is that the DSL for the WireTap has changed and I
got a ClassCastException.
I will dig into this later when I got some time.


On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:

> A new release candidate apache-camel-2.10.0 final is out with approximately
> 473 issues resolved so far: improvements and bug fixes [1].
>
> Please find the staging repo here:
> https://repository.apache.org/content/repositories/orgapachecamel-251/
>
> The tarballs are here
> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/
>
> Tag:
> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>
> Please review, help out with testing and vote to approve this release
> binary. Your vote counts!
>
> [ ] +1 Release the binary as Apache Camel 2.10.0
> [ ] -1 Veto the release (provide specific comments)
> Vote is open for at least 72 hours.
>
> Here's my +1.
> Hadrian
>
> [1]
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>
> --
> Hadrian Zbarcea
> Principal Software Architect
> Talend, Inc
> http://coders.talend.com/
> http://camelbot.blogspot.com/



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Babak Vahdat
In reply to this post by hadrian
Hi

Really a minor issue, not nice though:

Looking at both the TAR.GZ as well as ZIP artifacts, there're the following two documentations (as usual) under the path "apache-camel-2.10.0/doc/manual":

camel-manual-2.10-SNAPSHOT.html
camel-manual-2.10-SNAPSHOT.pdf

However no idea where the SNAPSHOT by the file names come from! If you look at the previous releases this was never the case (which was good so).

There was an optimization once Daniel did about "building the manual" so MAYBE this could be the cause as I don't remember any other changes we did regarding this:

http://camel.465427.n5.nabble.com/Building-the-manual-td5711396.html

Babak
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Christian Mueller
Administrator
In reply to this post by hadrian
+1

My tests/findings:

1) all new components are in the kit
2) I could not install camel-dns in Karaf 2.2.7 (see below)
   -> package sun.net.spi.nameservice is neither exported by Karaf nor
provided by another bundle
3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the
packages without a version which thans doesn't fit into the expected
version range
4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
   -> need Spring 3.1.x


regarding 2)
ip-109-85-152-102:bin cmueller$ ./karaf clean
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.7)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.10.0
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
karaf@root> feature:install camel-dns
Error executing command: Could not start bundle mvn:dnsjava/dnsjava/2.1.1
in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
[66]: Unable to resolve 66.0: missing requirement [66.0] package;
(package=sun.net.spi.nameservice)


regarding 3)
ip-109-85-152-102:bin cmueller$ ./karaf clean
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.7)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.10.0
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
karaf@root> feature:install camel-leveldb
Error executing command: Could not start bundle
mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
camel-leveldb-2.10.0: Unresolved constraint in bundle
org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
requirement [68.0] package;
(&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0)))



regarding 4)
ip-109-85-152-102:bin cmueller$ ./karaf clean
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.7)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.10.0
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
karaf@root> feature:install camel-spring-ws
Error executing command: Could not start bundle mvn:
org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
camel-spring-ws-2.10.0: Unresolved constraint in bundle
org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
requirement [102.0] package;
(&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0)))

Best,
Christian

On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:

> A new release candidate apache-camel-2.10.0 final is out with
> approximately 473 issues resolved so far: improvements and bug fixes [1].
>
> Please find the staging repo here:
> https://repository.apache.org/**content/repositories/**orgapachecamel-251/<https://repository.apache.org/content/repositories/orgapachecamel-251/>
>
> The tarballs are here
> https://repository.apache.org/**content/repositories/**
> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/>
>
> Tag:
> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/>
>
> Please review, help out with testing and vote to approve this release
> binary. Your vote counts!
>
> [ ] +1 Release the binary as Apache Camel 2.10.0
> [ ] -1 Veto the release (provide specific comments)
> Vote is open for at least 72 hours.
>
> Here's my +1.
> Hadrian
>
> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612>
>
> --
> Hadrian Zbarcea
> Principal Software Architect
> Talend, Inc
> http://coders.talend.com/
> http://camelbot.blogspot.com/
>
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Johan Edstrom-2
+1

On Jun 22, 2012, at 3:51 PM, Christian Müller wrote:

> +1
>
> My tests/findings:
>
> 1) all new components are in the kit
> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>   -> package sun.net.spi.nameservice is neither exported by Karaf nor
> provided by another bundle
> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
>   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the
> packages without a version which thans doesn't fit into the expected
> version range
> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>   -> need Spring 3.1.x
>
>
> regarding 2)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-dns
> Error executing command: Could not start bundle mvn:dnsjava/dnsjava/2.1.1
> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
> (package=sun.net.spi.nameservice)
>
>
> regarding 3)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-leveldb
> Error executing command: Could not start bundle
> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
> camel-leveldb-2.10.0: Unresolved constraint in bundle
> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
> requirement [68.0] package;
> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0)))
>
>
>
> regarding 4)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-spring-ws
> Error executing command: Could not start bundle mvn:
> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
> camel-spring-ws-2.10.0: Unresolved constraint in bundle
> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
> requirement [102.0] package;
> (&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0)))
>
> Best,
> Christian
>
> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>
>> A new release candidate apache-camel-2.10.0 final is out with
>> approximately 473 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/<https://repository.apache.org/content/repositories/orgapachecamel-251/>
>>
>> The tarballs are here
>> https://repository.apache.org/**content/repositories/**
>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/>
>>
>> Tag:
>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/>
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.10.0
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1.
>> Hadrian
>>
>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612>
>>
>> --
>> Hadrian Zbarcea
>> Principal Software Architect
>> Talend, Inc
>> http://coders.talend.com/
>> http://camelbot.blogspot.com/
>>

Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Christian Schneider
In reply to this post by hadrian
+1

I experienced problems installing camel-cxf in karaf 3 snapshot but I
think they are blueprint related.

Christian

Am 20.06.2012 19:55, schrieb Hadrian Zbarcea:

> A new release candidate apache-camel-2.10.0 final is out with
> approximately 473 issues resolved so far: improvements and bug fixes [1].
>
> Please find the staging repo here:
> https://repository.apache.org/content/repositories/orgapachecamel-251/
>
> The tarballs are here
> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/ 
>
>
> Tag:
> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>
> Please review, help out with testing and vote to approve this release
> binary. Your vote counts!
>
> [ ] +1 Release the binary as Apache Camel 2.10.0
> [ ] -1 Veto the release (provide specific comments)
> Vote is open for at least 72 hours.
>
> Here's my +1.
> Hadrian
>
> [1]
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>


--

Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
In reply to this post by Claus Ibsen-2
Hi

I have digged a bit more.

The Camel Java DSL is not 100% compatible with the 2.9 branch.
Commit rev 1244769 which is a compiler cleanup attempt had a side
effect of causing the wire tap java dsl to break in certain
situations.
http://svn.apache.org/viewvc?rev=1244769&view=rev

This commit has only been done on trunk, and blocked for 2.9 and 2.8
branches. So it only affect the new 2.10 RC.

Here is an example of a working DSL in Camel 2.9 or older

                from("file://target/rider/orders")
                        .wireTap("seda:audit")
                        .bean(OrderCsvToXmlBean.class)
                        .to("jms:queue:orders");


If you run this on Camel 2.10 you get this exception

java.lang.ClassCastException: org.apache.camel.model.WireTapDefinition
cannot be cast to org.apache.camel.model.RouteDefinition
        at camelinaction.AuditTest$1.configure(AuditTest.java:59)
        at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322)
        at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276)
        at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262)
        at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:619)
        at org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:298)
        at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:217)
        at camelinaction.AuditTest.setUp(AuditTest.java:34)


I dont think our end users is capable of understanding this, and how
to resolve it. To fix this you need to use .end() on the wireTap which
becomes

                from("file://target/rider/orders")
                        .wireTap("seda:audit").end() // need to end wireTap
                        .bean(OrderCsvToXmlBean.class)
                        .to("jms:queue:orders");

Then it works.

Since the 1244769 is not fixing any bugs etc. Then I think we should
revert the changes that affects the Java DSL (eg the changes in the
model package). Then we can be 100% backwards compatible in the Java
DSL.

We may be able to only revert the change on the wire tap, as by
looking at this commit, its the only one that is changed to have type
on
 extends NoOutputDefinition<Type>

where as the others are
 extends NoOutputDefinition


Any thoughts?




On Thu, Jun 21, 2012 at 2:01 PM, Claus Ibsen <[hidden email]> wrote:

> Hi
>
> I upgraded the source code for Camel in Action book, and gave the
> 2.10.0 a test spin.
>
> The few migration pains was that camel-test dependency is now
> camel-test-spring if you use Spring for testing.
> This is expected and also on the release notes.
>
> The issue I found is that the DSL for the WireTap has changed and I
> got a ClassCastException.
> I will dig into this later when I got some time.
>
>
> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>> A new release candidate apache-camel-2.10.0 final is out with approximately
>> 473 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>
>> The tarballs are here
>> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/
>>
>> Tag:
>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.10.0
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1.
>> Hadrian
>>
>> [1]
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>>
>> --
>> Hadrian Zbarcea
>> Principal Software Architect
>> Talend, Inc
>> http://coders.talend.com/
>> http://camelbot.blogspot.com/
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
In reply to this post by Christian Mueller
On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
<[hidden email]> wrote:
> +1
>
> My tests/findings:
>
> 1) all new components are in the kit
> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>   -> package sun.net.spi.nameservice is neither exported by Karaf nor
> provided by another bundle

This is documented in the feature

karaf@root> features:info camel-dns
Description of camel-dns 2.11-SNAPSHOT feature
----------------------------------------------------------------
The camel-dns feature can only run on a SUN JVM. You need to ddd the
package sun.net.spi.nameservice to the java platform packages in the
etc/jre.properties file.
----------------------------------------------------------------
Feature has no configuration
Feature has no configuration files
Feature depends on:
  camel-core 2.11-SNAPSHOT
Feature contains followed bundles:
 mvn:dnsjava/dnsjava/2.1.1 start-level=50
 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.junit/4.10_1
start-level=50
 mvn:org.apache.camel/camel-dns/2.11-SNAPSHOT start-level=50


eg we have included details in the features.xml file about this.

  <feature name='camel-dns' version='2.11-SNAPSHOT' resolver='(obr)'
start-level='50'>
        <details>The camel-dns feature can only run on a SUN JVM. You need to
ddd the package sun.net.spi.nameservice to the java platform packages
in the etc/jre.properties file.</details>
    <bundle dependency='true'>mvn:dnsjava/dnsjava/2.1.1</bundle>
    <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.junit/4.10_1</bundle>
    <feature version='2.11-SNAPSHOT'>camel-core</feature>


> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>   -> need Spring 3.1.x
>

This is documented in the release notes. Spring WS 2.0.5 now requires
Spring 3.1+
So you need to install spring 3.1 beforehand.

What we need from Karaf is maybe a spring-31 feature we can depend on
instead of spring, which is 3.0+.
Then the spring-ws feature could depend on spring-31.

An alternative would be revert back to Spring WS 2.0.3 (from 2.9.x
release). As it supports spring 3.0 as well.
I am not sure if any important bugs is fixed in 2.0.5 since. But I
guess its bad practice from the Spring guys to
do this upgrade in WS, which IMHO they should have done in Spring WS
2.1.0 instead.



karaf@root> features:info camel-spring-ws
Description of camel-spring-ws 2.11-SNAPSHOT feature
----------------------------------------------------------------
Feature has no configuration
Feature has no configuration files
Feature depends on:
  camel-spring 2.11-SNAPSHOT
  spring-jms [3,4)
  spring-web [3,4)
  spring-oxm [3,4)
Feature contains followed bundles:
 mvn:javax.mail/mail/1.4.5 start-level=50
 mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 start-level=50
 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.smack/3.2.1_1
start-level=50
 mvn:org.springframework.ws/spring-xml/2.0.5.RELEASE start-level=50
 mvn:org.springframework.ws/spring-ws-core/2.0.5.RELEASE start-level=50
 mvn:org.springframework.ws/spring-ws-support/2.0.5.RELEASE start-level=50
 mvn:org.apache.camel/camel-spring-ws/2.11-SNAPSHOT start-level=50


>
> regarding 2)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-dns
> Error executing command: Could not start bundle mvn:dnsjava/dnsjava/2.1.1
> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
> (package=sun.net.spi.nameservice)
>
>
> regarding 3)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-leveldb
> Error executing command: Could not start bundle
> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
> camel-leveldb-2.10.0: Unresolved constraint in bundle
> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
> requirement [68.0] package;
> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0)))
>
>
>
> regarding 4)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-spring-ws
> Error executing command: Could not start bundle mvn:
> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
> camel-spring-ws-2.10.0: Unresolved constraint in bundle
> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
> requirement [102.0] package;
> (&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0)))
>
> Best,
> Christian
>
> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>
>> A new release candidate apache-camel-2.10.0 final is out with
>> approximately 473 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/<https://repository.apache.org/content/repositories/orgapachecamel-251/>
>>
>> The tarballs are here
>> https://repository.apache.org/**content/repositories/**
>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/>
>>
>> Tag:
>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/>
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.10.0
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1.
>> Hadrian
>>
>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612>
>>
>> --
>> Hadrian Zbarcea
>> Principal Software Architect
>> Talend, Inc
>> http://coders.talend.com/
>> http://camelbot.blogspot.com/
>>



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Babak Vahdat
In reply to this post by Claus Ibsen-2
Hi Claus

Thanks for looking into this.

Right now I'm on a short trip and will look into this tomorrow.

Babak

Am 23.06.2012 um 11:59 schrieb Claus Ibsen <[hidden email]>:

> Hi
>
> I have digged a bit more.
>
> The Camel Java DSL is not 100% compatible with the 2.9 branch.
> Commit rev 1244769 which is a compiler cleanup attempt had a side
> effect of causing the wire tap java dsl to break in certain
> situations.
> http://svn.apache.org/viewvc?rev=1244769&view=rev
>
> This commit has only been done on trunk, and blocked for 2.9 and 2.8
> branches. So it only affect the new 2.10 RC.
>
> Here is an example of a working DSL in Camel 2.9 or older
>
>                from("file://target/rider/orders")
>                        .wireTap("seda:audit")
>                        .bean(OrderCsvToXmlBean.class)
>                        .to("jms:queue:orders");
>
>
> If you run this on Camel 2.10 you get this exception
>
> java.lang.ClassCastException: org.apache.camel.model.WireTapDefinition
> cannot be cast to org.apache.camel.model.RouteDefinition
>    at camelinaction.AuditTest$1.configure(AuditTest.java:59)
>    at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322)
>    at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276)
>    at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262)
>    at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:619)
>    at org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:298)
>    at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:217)
>    at camelinaction.AuditTest.setUp(AuditTest.java:34)
>
>
> I dont think our end users is capable of understanding this, and how
> to resolve it. To fix this you need to use .end() on the wireTap which
> becomes
>
>                from("file://target/rider/orders")
>                        .wireTap("seda:audit").end() // need to end wireTap
>                        .bean(OrderCsvToXmlBean.class)
>                        .to("jms:queue:orders");
>
> Then it works.
>
> Since the 1244769 is not fixing any bugs etc. Then I think we should
> revert the changes that affects the Java DSL (eg the changes in the
> model package). Then we can be 100% backwards compatible in the Java
> DSL.
>
> We may be able to only revert the change on the wire tap, as by
> looking at this commit, its the only one that is changed to have type
> on
> extends NoOutputDefinition<Type>
>
> where as the others are
> extends NoOutputDefinition
>
>
> Any thoughts?
>
>
>
>
> On Thu, Jun 21, 2012 at 2:01 PM, Claus Ibsen <[hidden email]> wrote:
>> Hi
>>
>> I upgraded the source code for Camel in Action book, and gave the
>> 2.10.0 a test spin.
>>
>> The few migration pains was that camel-test dependency is now
>> camel-test-spring if you use Spring for testing.
>> This is expected and also on the release notes.
>>
>> The issue I found is that the DSL for the WireTap has changed and I
>> got a ClassCastException.
>> I will dig into this later when I got some time.
>>
>>
>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>>> A new release candidate apache-camel-2.10.0 final is out with approximately
>>> 473 issues resolved so far: improvements and bug fixes [1].
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>>
>>> The tarballs are here
>>> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/
>>>
>>> Tag:
>>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>>
>>> Please review, help out with testing and vote to approve this release
>>> binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for at least 72 hours.
>>>
>>> Here's my +1.
>>> Hadrian
>>>
>>> [1]
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>>>
>>> --
>>> Hadrian Zbarcea
>>> Principal Software Architect
>>> Talend, Inc
>>> http://coders.talend.com/
>>> http://camelbot.blogspot.com/
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: [hidden email]
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
In reply to this post by Christian Mueller
On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
<[hidden email]> wrote:

> +1
>
> My tests/findings:
>
> 1) all new components are in the kit
> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>   -> package sun.net.spi.nameservice is neither exported by Karaf nor
> provided by another bundle
> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
>   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the
> packages without a version which thans doesn't fit into the expected
> version range

Yeah we need to get the 1.2.0 version in the wrap procotol. But it
doesn't work and I have logged a JIRA
https://issues.apache.org/jira/browse/KARAF-1585

We may fix this on the camel-leveldb side, by forcing the osgi
metadata to have no version ranges.



> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>   -> need Spring 3.1.x
>
>
> regarding 2)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-dns
> Error executing command: Could not start bundle mvn:dnsjava/dnsjava/2.1.1
> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
> (package=sun.net.spi.nameservice)
>
>
> regarding 3)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-leveldb
> Error executing command: Could not start bundle
> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
> camel-leveldb-2.10.0: Unresolved constraint in bundle
> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
> requirement [68.0] package;
> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0)))
>
>
>
> regarding 4)
> ip-109-85-152-102:bin cmueller$ ./karaf clean
>        __ __                  ____
>       / //_/____ __________ _/ __/
>      / ,<  / __ `/ ___/ __ `/ /_
>     / /| |/ /_/ / /  / /_/ / __/
>    /_/ |_|\__,_/_/   \__,_/_/
>
>  Apache Karaf (2.2.7)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> features:chooseurl camel 2.10.0
> adding feature url
> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> karaf@root> feature:install camel-spring-ws
> Error executing command: Could not start bundle mvn:
> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
> camel-spring-ws-2.10.0: Unresolved constraint in bundle
> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
> requirement [102.0] package;
> (&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0)))
>
> Best,
> Christian
>
> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>
>> A new release candidate apache-camel-2.10.0 final is out with
>> approximately 473 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/<https://repository.apache.org/content/repositories/orgapachecamel-251/>
>>
>> The tarballs are here
>> https://repository.apache.org/**content/repositories/**
>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/>
>>
>> Tag:
>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/>
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.10.0
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1.
>> Hadrian
>>
>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612>
>>
>> --
>> Hadrian Zbarcea
>> Principal Software Architect
>> Talend, Inc
>> http://coders.talend.com/
>> http://camelbot.blogspot.com/
>>



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
Hi

I got the camel-leveldb feature fixed by adjusting the import version
ranges in camel-leveldb.

karaf@root> features:install camel
karaf@root> features:install camel-leveldb
karaf@root> list
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Spring    Level  Name
[  64] [Active     ] [            ] [       ] [   50] camel-core
(2.11.0.SNAPSHOT)
[  65] [Active     ] [Created     ] [       ] [   50]
camel-karaf-commands (2.11.0.SNAPSHOT)
[  72] [Active     ] [            ] [       ] [   50]
geronimo-jta_1.1_spec (1.1.1)
[  73] [Active     ] [            ] [       ] [   50] camel-spring
(2.11.0.SNAPSHOT)
[  74] [Active     ] [Created     ] [       ] [   50] camel-blueprint
(2.11.0.SNAPSHOT)
[  75] [Active     ] [            ] [       ] [   50]
wrap_mvn_org.fusesource.leveldbjni_leveldbjni-all_1.2 (0)
[  76] [Active     ] [            ] [       ] [   50] hawtbuf (1.9.0)
[  77] [Active     ] [            ] [       ] [   50] camel-leveldb
(2.11.0.SNAPSHOT)

Then the wrap bundle of leveldbjni can be installed.



On Sat, Jun 23, 2012 at 12:53 PM, Claus Ibsen <[hidden email]> wrote:

> On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
> <[hidden email]> wrote:
>> +1
>>
>> My tests/findings:
>>
>> 1) all new components are in the kit
>> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>>   -> package sun.net.spi.nameservice is neither exported by Karaf nor
>> provided by another bundle
>> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
>>   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the
>> packages without a version which thans doesn't fit into the expected
>> version range
>
> Yeah we need to get the 1.2.0 version in the wrap procotol. But it
> doesn't work and I have logged a JIRA
> https://issues.apache.org/jira/browse/KARAF-1585
>
> We may fix this on the camel-leveldb side, by forcing the osgi
> metadata to have no version ranges.
>
>
>
>> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>>   -> need Spring 3.1.x
>>
>>
>> regarding 2)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-dns
>> Error executing command: Could not start bundle mvn:dnsjava/dnsjava/2.1.1
>> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
>> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
>> (package=sun.net.spi.nameservice)
>>
>>
>> regarding 3)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-leveldb
>> Error executing command: Could not start bundle
>> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
>> camel-leveldb-2.10.0: Unresolved constraint in bundle
>> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
>> requirement [68.0] package;
>> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0)))
>>
>>
>>
>> regarding 4)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-spring-ws
>> Error executing command: Could not start bundle mvn:
>> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
>> camel-spring-ws-2.10.0: Unresolved constraint in bundle
>> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
>> requirement [102.0] package;
>> (&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0)))
>>
>> Best,
>> Christian
>>
>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>>
>>> A new release candidate apache-camel-2.10.0 final is out with
>>> approximately 473 issues resolved so far: improvements and bug fixes [1].
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/<https://repository.apache.org/content/repositories/orgapachecamel-251/>
>>>
>>> The tarballs are here
>>> https://repository.apache.org/**content/repositories/**
>>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/>
>>>
>>> Tag:
>>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/>
>>>
>>> Please review, help out with testing and vote to approve this release
>>> binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for at least 72 hours.
>>>
>>> Here's my +1.
>>> Hadrian
>>>
>>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612>
>>>
>>> --
>>> Hadrian Zbarcea
>>> Principal Software Architect
>>> Talend, Inc
>>> http://coders.talend.com/
>>> http://camelbot.blogspot.com/
>>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Babak Vahdat
In reply to this post by Claus Ibsen-2
Hi

The problem was a STUPID generics-misspelling of mine:

  extends NoOutputDefinition<Type>

instead of:

  extends NoOutputDefinition<WireTapDefinition<Type>>

I did resolve the JIRA ticket you opened for this today, as well verified that the "Camel In Action" test being mentioned now passes WITHOUT using end().

Babak

Claus Ibsen-2 wrote
Hi

I have digged a bit more.

The Camel Java DSL is not 100% compatible with the 2.9 branch.
Commit rev 1244769 which is a compiler cleanup attempt had a side
effect of causing the wire tap java dsl to break in certain
situations.
http://svn.apache.org/viewvc?rev=1244769&view=rev

This commit has only been done on trunk, and blocked for 2.9 and 2.8
branches. So it only affect the new 2.10 RC.

Here is an example of a working DSL in Camel 2.9 or older

                from("file://target/rider/orders")
                        .wireTap("seda:audit")
                        .bean(OrderCsvToXmlBean.class)
                        .to("jms:queue:orders");


If you run this on Camel 2.10 you get this exception

java.lang.ClassCastException: org.apache.camel.model.WireTapDefinition
cannot be cast to org.apache.camel.model.RouteDefinition
        at camelinaction.AuditTest$1.configure(AuditTest.java:59)
        at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322)
        at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276)
        at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262)
        at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:619)
        at org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:298)
        at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:217)
        at camelinaction.AuditTest.setUp(AuditTest.java:34)


I dont think our end users is capable of understanding this, and how
to resolve it. To fix this you need to use .end() on the wireTap which
becomes

                from("file://target/rider/orders")
                        .wireTap("seda:audit").end() // need to end wireTap
                        .bean(OrderCsvToXmlBean.class)
                        .to("jms:queue:orders");

Then it works.

Since the 1244769 is not fixing any bugs etc. Then I think we should
revert the changes that affects the Java DSL (eg the changes in the
model package). Then we can be 100% backwards compatible in the Java
DSL.

We may be able to only revert the change on the wire tap, as by
looking at this commit, its the only one that is changed to have type
on
 extends NoOutputDefinition<Type>

where as the others are
 extends NoOutputDefinition


Any thoughts?




On Thu, Jun 21, 2012 at 2:01 PM, Claus Ibsen <[hidden email]> wrote:
> Hi
>
> I upgraded the source code for Camel in Action book, and gave the
> 2.10.0 a test spin.
>
> The few migration pains was that camel-test dependency is now
> camel-test-spring if you use Spring for testing.
> This is expected and also on the release notes.
>
> The issue I found is that the DSL for the WireTap has changed and I
> got a ClassCastException.
> I will dig into this later when I got some time.
>
>
> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:
>> A new release candidate apache-camel-2.10.0 final is out with approximately
>> 473 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>
>> The tarballs are here
>> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/
>>
>> Tag:
>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.10.0
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1.
>> Hadrian
>>
>> [1]
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>>
>> --
>> Hadrian Zbarcea
>> Principal Software Architect
>> Talend, Inc
>> http://coders.talend.com/
>> http://camelbot.blogspot.com/
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
On Sat, Jun 23, 2012 at 10:03 PM, Babak Vahdat
<[hidden email]> wrote:

> Hi
>
> The problem was a STUPID generics-misspelling of mine:
>
>  extends NoOutputDefinition<Type>
>
> instead of:
>
>  extends NoOutputDefinition<WireTapDefinition&lt;Type>>
>
> I did resolve the JIRA ticket you opened for this today, as well verified
> that the "Camel In Action" test being mentioned now passes WITHOUT using
> end().
>
> Babak
>

Thanks for the quick fix for this. I added an unit test to camel-core
so we have this test against regressions.


>
> Claus Ibsen-2 wrote
>>
>> Hi
>>
>> I have digged a bit more.
>>
>> The Camel Java DSL is not 100% compatible with the 2.9 branch.
>> Commit rev 1244769 which is a compiler cleanup attempt had a side
>> effect of causing the wire tap java dsl to break in certain
>> situations.
>> http://svn.apache.org/viewvc?rev=1244769&view=rev
>>
>> This commit has only been done on trunk, and blocked for 2.9 and 2.8
>> branches. So it only affect the new 2.10 RC.
>>
>> Here is an example of a working DSL in Camel 2.9 or older
>>
>>                 from("file://target/rider/orders")
>>                         .wireTap("seda:audit")
>>                         .bean(OrderCsvToXmlBean.class)
>>                         .to("jms:queue:orders");
>>
>>
>> If you run this on Camel 2.10 you get this exception
>>
>> java.lang.ClassCastException: org.apache.camel.model.WireTapDefinition
>> cannot be cast to org.apache.camel.model.RouteDefinition
>>       at camelinaction.AuditTest$1.configure(AuditTest.java:59)
>>       at
>> org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322)
>>       at
>> org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276)
>>       at
>> org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262)
>>       at
>> org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:619)
>>       at
>> org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:298)
>>       at
>> org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:217)
>>       at camelinaction.AuditTest.setUp(AuditTest.java:34)
>>
>>
>> I dont think our end users is capable of understanding this, and how
>> to resolve it. To fix this you need to use .end() on the wireTap which
>> becomes
>>
>>                 from("file://target/rider/orders")
>>                         .wireTap("seda:audit").end() // need to end
>> wireTap
>>                         .bean(OrderCsvToXmlBean.class)
>>                         .to("jms:queue:orders");
>>
>> Then it works.
>>
>> Since the 1244769 is not fixing any bugs etc. Then I think we should
>> revert the changes that affects the Java DSL (eg the changes in the
>> model package). Then we can be 100% backwards compatible in the Java
>> DSL.
>>
>> We may be able to only revert the change on the wire tap, as by
>> looking at this commit, its the only one that is changed to have type
>> on
>>  extends NoOutputDefinition<Type>
>>
>> where as the others are
>>  extends NoOutputDefinition
>>
>>
>> Any thoughts?
>>
>>
>>
>>
>> On Thu, Jun 21, 2012 at 2:01 PM, Claus Ibsen &lt;claus.ibsen@&gt; wrote:
>>> Hi
>>>
>>> I upgraded the source code for Camel in Action book, and gave the
>>> 2.10.0 a test spin.
>>>
>>> The few migration pains was that camel-test dependency is now
>>> camel-test-spring if you use Spring for testing.
>>> This is expected and also on the release notes.
>>>
>>> The issue I found is that the DSL for the WireTap has changed and I
>>> got a ClassCastException.
>>> I will dig into this later when I got some time.
>>>
>>>
>>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea &lt;hzbarcea@&gt; wrote:
>>>> A new release candidate apache-camel-2.10.0 final is out with
>>>> approximately
>>>> 473 issues resolved so far: improvements and bug fixes [1].
>>>>
>>>> Please find the staging repo here:
>>>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>>>
>>>> The tarballs are here
>>>> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/
>>>>
>>>> Tag:
>>>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>>>
>>>> Please review, help out with testing and vote to approve this release
>>>> binary. Your vote counts!
>>>>
>>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>>> [ ] -1 Veto the release (provide specific comments)
>>>> Vote is open for at least 72 hours.
>>>>
>>>> Here's my +1.
>>>> Hadrian
>>>>
>>>> [1]
>>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>>>>
>>>> --
>>>> Hadrian Zbarcea
>>>> Principal Software Architect
>>>> Talend, Inc
>>>> http://coders.talend.com/
>>>> http://camelbot.blogspot.com/
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> FuseSource
>>> Email: cibsen@
>>> Web: http://fusesource.com
>>> Twitter: davsclaus, fusenews
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-10-0-tp5714768p5714973.html
> Sent from the Camel Development mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
In reply to this post by hadrian
I am voting -1 for this RC due to that issue in the Java DSL.




On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]> wrote:

> A new release candidate apache-camel-2.10.0 final is out with approximately
> 473 issues resolved so far: improvements and bug fixes [1].
>
> Please find the staging repo here:
> https://repository.apache.org/content/repositories/orgapachecamel-251/
>
> The tarballs are here
> https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/
>
> Tag:
> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>
> Please review, help out with testing and vote to approve this release
> binary. Your vote counts!
>
> [ ] +1 Release the binary as Apache Camel 2.10.0
> [ ] -1 Veto the release (provide specific comments)
> Vote is open for at least 72 hours.
>
> Here's my +1.
> Hadrian
>
> [1]
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612
>
> --
> Hadrian Zbarcea
> Principal Software Architect
> Talend, Inc
> http://coders.talend.com/
> http://camelbot.blogspot.com/



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Babak Vahdat

-1 because of the same Java DSL regression issue.

That would be also nice if some one could look at and also fix the issue I
did already mention regarding PDF & HTML documentations.

Babak

>
>
>On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]>
>wrote:
>> A new release candidate apache-camel-2.10.0 final is out with
>>approximately
>> 473 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>
>> The tarballs are here
>>
>>https://repository.apache.org/content/repositories/orgapachecamel-251/org
>>/apache/camel/apache-camel/2.10.0/
>>
>> Tag:
>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.10.0
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1.
>> Hadrian
>>
>> [1]
>>
>>https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211
>>&version=12317612
>>
>> --
>> Hadrian Zbarcea
>> Principal Software Architect
>> Talend, Inc
>> http://coders.talend.com/
>> http://camelbot.blogspot.com/
>
>
>
>--
>Claus Ibsen
>-----------------
>FuseSource
>Email: [hidden email]
>Web: http://fusesource.com
>Twitter: davsclaus, fusenews
>Blog: http://davsclaus.com
>Author of Camel in Action: http://www.manning.com/ibsen


Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
Hi

The commits since the RC are

9d37940 CAMEL-5384: Added unit test.
f514f8c Less JDK compiler warnings.
ef76d98 CAMEL-5384: Fixed the generic model type of WireTap EIP so
that it's backwards compatible with older releases.
7db4d8f Fixed camel-leveldb osgi imports
48954e2 Ignore idea specific files from svn
de28bbf Remove unnecessary synchrnoziation
76d9dd6 Added test based on user forum issue
9a4c282 Added test based on user forum issue
a894e13 [CAMEL-5310] Added some optimizations around choice log statements.
a735322 enableHangupSupport  for camel-guice Main
aaeba5b Removed test as it may fail on CI server as it was not in sync
with the test from camel-core. And test component is moved to
camel-core since.
d8c62cf [CAMEL-5310] Added detailed logging to the configuration utility.
e2c3a4f CAMEL-5381: Fixed headers not propagated, due copyFrom should
check if trying to copy itself.
b04ad0c CAMEL-5381: Fixed headers not propagated, due copyFrom should
check if trying to copy itself.
a5fd2c7 [maven-release-plugin] prepare for next development iteration
0a892f1 [maven-release-plugin] prepare release camel-2.10.0



So we should not have issues if we recut the release IMHO, as the
commits are minor.
========================
CAMEL-5381 is a good fix to get included (headers being lost issue)
CAMEL-5384 fixed the Java DSL issue
CAMEL-5310 more detailed logging when using SSL
fixed camel-leveldb so it can be installed in Karaf
added the hangup support for camel-guice
removed a not needed sync
... and the rest is unit test related




On Sun, Jun 24, 2012 at 10:15 AM, Babak Vahdat
<[hidden email]> wrote:

>
> -1 because of the same Java DSL regression issue.
>
> That would be also nice if some one could look at and also fix the issue I
> did already mention regarding PDF & HTML documentations.
>
> Babak
>
>>
>>
>>On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]>
>>wrote:
>>> A new release candidate apache-camel-2.10.0 final is out with
>>>approximately
>>> 473 issues resolved so far: improvements and bug fixes [1].
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>>
>>> The tarballs are here
>>>
>>>https://repository.apache.org/content/repositories/orgapachecamel-251/org
>>>/apache/camel/apache-camel/2.10.0/
>>>
>>> Tag:
>>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>>
>>> Please review, help out with testing and vote to approve this release
>>> binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for at least 72 hours.
>>>
>>> Here's my +1.
>>> Hadrian
>>>
>>> [1]
>>>
>>>https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211
>>>&version=12317612
>>>
>>> --
>>> Hadrian Zbarcea
>>> Principal Software Architect
>>> Talend, Inc
>>> http://coders.talend.com/
>>> http://camelbot.blogspot.com/
>>
>>
>>
>>--
>>Claus Ibsen
>>-----------------
>>FuseSource
>>Email: [hidden email]
>>Web: http://fusesource.com
>>Twitter: davsclaus, fusenews
>>Blog: http://davsclaus.com
>>Author of Camel in Action: http://www.manning.com/ibsen
>
>



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Claus Ibsen-2
In reply to this post by Babak Vahdat
On Sun, Jun 24, 2012 at 10:15 AM, Babak Vahdat
<[hidden email]> wrote:
>
> -1 because of the same Java DSL regression issue.
>
> That would be also nice if some one could look at and also fix the issue I
> did already mention regarding PDF & HTML documentations.
>

Yeah it would be nice if the pdf is named 2.10 and not SNAPSHOT.
But its not a blocker IMHO if it would take too much effort to fix and
look into fixing (its not a fun stuff to look into)



> Babak
>
>>
>>
>>On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]>
>>wrote:
>>> A new release candidate apache-camel-2.10.0 final is out with
>>>approximately
>>> 473 issues resolved so far: improvements and bug fixes [1].
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>>
>>> The tarballs are here
>>>
>>>https://repository.apache.org/content/repositories/orgapachecamel-251/org
>>>/apache/camel/apache-camel/2.10.0/
>>>
>>> Tag:
>>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>>
>>> Please review, help out with testing and vote to approve this release
>>> binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for at least 72 hours.
>>>
>>> Here's my +1.
>>> Hadrian
>>>
>>> [1]
>>>
>>>https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211
>>>&version=12317612
>>>
>>> --
>>> Hadrian Zbarcea
>>> Principal Software Architect
>>> Talend, Inc
>>> http://coders.talend.com/
>>> http://camelbot.blogspot.com/
>>
>>
>>
>>--
>>Claus Ibsen
>>-----------------
>>FuseSource
>>Email: [hidden email]
>>Web: http://fusesource.com
>>Twitter: davsclaus, fusenews
>>Blog: http://davsclaus.com
>>Author of Camel in Action: http://www.manning.com/ibsen
>
>



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Freeman-2
In reply to this post by Claus Ibsen-2
Hi,

The wrap url in features should be like

<bundle dependency='true'>wrap:mvn:org.fusesource.leveldbjni/
leveldbjni-all/1.2$Bundle-Version=1.2&amp;Export-Package=*;-
noimport:=true;version="1.2"</bundle>
This way it can specify the export package version like

Export-Package =
        org.fusesource.hawtjni.runtime;version=1.2,
         
org
.fusesource
.leveldbjni
;uses
:=
"org
.iq80
.leveldb
,org
.fusesource
.leveldbjni.internal,org.fusesource.hawtjni.runtime";version=1.2,
         
org
.fusesource
.leveldbjni
.internal
;uses:="org.iq80.leveldb,org.fusesource.hawtjni.runtime";version=1.2,
        org.iq80.leveldb;version=1.2

I will commit a fix soon.

Freeman
On 2012-6-23, at 下午6:53, Claus Ibsen wrote:

> On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
> <[hidden email]> wrote:
>> +1
>>
>> My tests/findings:
>>
>> 1) all new components are in the kit
>> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>>   -> package sun.net.spi.nameservice is neither exported by Karaf nor
>> provided by another bundle
>> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
>>   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports  
>> the
>> packages without a version which thans doesn't fit into the expected
>> version range
>
> Yeah we need to get the 1.2.0 version in the wrap procotol. But it
> doesn't work and I have logged a JIRA
> https://issues.apache.org/jira/browse/KARAF-1585
>
> We may fix this on the camel-leveldb side, by forcing the osgi
> metadata to have no version ranges.
>
>
>
>> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>>   -> need Spring 3.1.x
>>
>>
>> regarding 2)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-dns
>> Error executing command: Could not start bundle mvn:dnsjava/dnsjava/
>> 2.1.1
>> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle  
>> dnsjava
>> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
>> (package=sun.net.spi.nameservice)
>>
>>
>> regarding 3)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-leveldb
>> Error executing command: Could not start bundle
>> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
>> camel-leveldb-2.10.0: Unresolved constraint in bundle
>> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
>> requirement [68.0] package;
>> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!
>> (version>=2.0.0)))
>>
>>
>>
>> regarding 4)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-spring-ws
>> Error executing command: Could not start bundle mvn:
>> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
>> camel-spring-ws-2.10.0: Unresolved constraint in bundle
>> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
>> requirement [102.0] package;
>> (&(package=org.springframework.beans)(version>=3.1.0)(!
>> (version>=4.0.0)))
>>
>> Best,
>> Christian
>>
>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea  
>> <[hidden email]> wrote:
>>
>>> A new release candidate apache-camel-2.10.0 final is out with
>>> approximately 473 issues resolved so far: improvements and bug  
>>> fixes [1].
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/ 
>>> <https://repository.apache.org/content/repositories/orgapachecamel-251/ 
>>> >
>>>
>>> The tarballs are here
>>> https://repository.apache.org/**content/repositories/**
>>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/ 
>>> >
>>>
>>> Tag:
>>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/ 
>>> >
>>>
>>> Please review, help out with testing and vote to approve this  
>>> release
>>> binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for at least 72 hours.
>>>
>>> Here's my +1.
>>> Hadrian
>>>
>>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612 
>>> >
>>>
>>> --
>>> Hadrian Zbarcea
>>> Principal Software Architect
>>> Talend, Inc
>>> http://coders.talend.com/
>>> http://camelbot.blogspot.com/
>>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen

---------------------------------------------
Freeman Fang

FuseSource
Email:[hidden email]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply | Threaded
Open this post in threaded view
|

Re: [VOTE] Release Apache Camel 2.10.0

Freeman-2
Done, CAMEL-5391[1]

[1]https://issues.apache.org/jira/browse/CAMEL-5391

Freeman
On 2012-6-25, at 上午8:53, Freeman Fang wrote:

> Hi,
>
> The wrap url in features should be like
>
> <bundle dependency='true'>wrap:mvn:org.fusesource.leveldbjni/
> leveldbjni-all/1.2$Bundle-Version=1.2&amp;Export-Package=*;-
> noimport:=true;version="1.2"</bundle>
> This way it can specify the export package version like
>
> Export-Package =
> org.fusesource.hawtjni.runtime;version=1.2,
>
> org
> .fusesource
> .leveldbjni
> ;uses
> :=
> "org
> .iq80
> .leveldb
> ,org
> .fusesource
> .leveldbjni.internal,org.fusesource.hawtjni.runtime";version=1.2,
>
> org
> .fusesource
> .leveldbjni
> .internal
> ;uses:="org.iq80.leveldb,org.fusesource.hawtjni.runtime";version=1.2,
> org.iq80.leveldb;version=1.2
>
> I will commit a fix soon.
>
> Freeman
> On 2012-6-23, at 下午6:53, Claus Ibsen wrote:
>
>> On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
>> <[hidden email]> wrote:
>>> +1
>>>
>>> My tests/findings:
>>>
>>> 1) all new components are in the kit
>>> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>>>   -> package sun.net.spi.nameservice is neither exported by Karaf  
>>> nor
>>> provided by another bundle
>>> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
>>>   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports  
>>> the
>>> packages without a version which thans doesn't fit into the expected
>>> version range
>>
>> Yeah we need to get the 1.2.0 version in the wrap procotol. But it
>> doesn't work and I have logged a JIRA
>> https://issues.apache.org/jira/browse/KARAF-1585
>>
>> We may fix this on the camel-leveldb side, by forcing the osgi
>> metadata to have no version ranges.
>>
>>
>>
>>> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>>>   -> need Spring 3.1.x
>>>
>>>
>>> regarding 2)
>>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>>        __ __                  ____
>>>       / //_/____ __________ _/ __/
>>>      / ,<  / __ `/ ___/ __ `/ /_
>>>     / /| |/ /_/ / /  / /_/ / __/
>>>    /_/ |_|\__,_/_/   \__,_/_/
>>>
>>>  Apache Karaf (2.2.7)
>>>
>>> Hit '<tab>' for a list of available commands
>>> and '[cmd] --help' for help on a specific command.
>>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>>
>>> karaf@root> features:chooseurl camel 2.10.0
>>> adding feature url
>>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>>> karaf@root> feature:install camel-dns
>>> Error executing command: Could not start bundle mvn:dnsjava/
>>> dnsjava/2.1.1
>>> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle  
>>> dnsjava
>>> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
>>> (package=sun.net.spi.nameservice)
>>>
>>>
>>> regarding 3)
>>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>>        __ __                  ____
>>>       / //_/____ __________ _/ __/
>>>      / ,<  / __ `/ ___/ __ `/ /_
>>>     / /| |/ /_/ / /  / /_/ / __/
>>>    /_/ |_|\__,_/_/   \__,_/_/
>>>
>>>  Apache Karaf (2.2.7)
>>>
>>> Hit '<tab>' for a list of available commands
>>> and '[cmd] --help' for help on a specific command.
>>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>>
>>> karaf@root> features:chooseurl camel 2.10.0
>>> adding feature url
>>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>>> karaf@root> feature:install camel-leveldb
>>> Error executing command: Could not start bundle
>>> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
>>> camel-leveldb-2.10.0: Unresolved constraint in bundle
>>> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
>>> requirement [68.0] package;
>>> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!
>>> (version>=2.0.0)))
>>>
>>>
>>>
>>> regarding 4)
>>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>>        __ __                  ____
>>>       / //_/____ __________ _/ __/
>>>      / ,<  / __ `/ ___/ __ `/ /_
>>>     / /| |/ /_/ / /  / /_/ / __/
>>>    /_/ |_|\__,_/_/   \__,_/_/
>>>
>>>  Apache Karaf (2.2.7)
>>>
>>> Hit '<tab>' for a list of available commands
>>> and '[cmd] --help' for help on a specific command.
>>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>>
>>> karaf@root> features:chooseurl camel 2.10.0
>>> adding feature url
>>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>>> karaf@root> feature:install camel-spring-ws
>>> Error executing command: Could not start bundle mvn:
>>> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
>>> camel-spring-ws-2.10.0: Unresolved constraint in bundle
>>> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
>>> requirement [102.0] package;
>>> (&(package=org.springframework.beans)(version>=3.1.0)(!
>>> (version>=4.0.0)))
>>>
>>> Best,
>>> Christian
>>>
>>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea  
>>> <[hidden email]> wrote:
>>>
>>>> A new release candidate apache-camel-2.10.0 final is out with
>>>> approximately 473 issues resolved so far: improvements and bug  
>>>> fixes [1].
>>>>
>>>> Please find the staging repo here:
>>>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/ 
>>>> <https://repository.apache.org/content/repositories/orgapachecamel-251/ 
>>>> >
>>>>
>>>> The tarballs are here
>>>> https://repository.apache.org/**content/repositories/**
>>>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/ 
>>>> >
>>>>
>>>> Tag:
>>>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/ 
>>>> >
>>>>
>>>> Please review, help out with testing and vote to approve this  
>>>> release
>>>> binary. Your vote counts!
>>>>
>>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>>> [ ] -1 Veto the release (provide specific comments)
>>>> Vote is open for at least 72 hours.
>>>>
>>>> Here's my +1.
>>>> Hadrian
>>>>
>>>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>>>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612 
>>>> >
>>>>
>>>> --
>>>> Hadrian Zbarcea
>>>> Principal Software Architect
>>>> Talend, Inc
>>>> http://coders.talend.com/
>>>> http://camelbot.blogspot.com/
>>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: [hidden email]
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:[hidden email]
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
>
>
>
>
>
>
>
>
>
>

---------------------------------------------
Freeman Fang

FuseSource
Email:[hidden email]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply | Threaded
Open this post in threaded view
|

[CANCEL][VOTE] Release Apache Camel 2.10.0

hadrian
In reply to this post by Claus Ibsen-2
I'll look into it. The other issue is imho not really a blocker, but
let's redo the release.

Therefore this vote is canceled and we'll redo the 2.10.0 release this
week. Please avoid risky commits.

Hadrian

On 06/24/2012 04:54 AM, Claus Ibsen wrote:

> On Sun, Jun 24, 2012 at 10:15 AM, Babak Vahdat
> <[hidden email]> wrote:
>>
>> -1 because of the same Java DSL regression issue.
>>
>> That would be also nice if some one could look at and also fix the issue I
>> did already mention regarding PDF & HTML documentations.
>>
>
> Yeah it would be nice if the pdf is named 2.10 and not SNAPSHOT.
> But its not a blocker IMHO if it would take too much effort to fix and
> look into fixing (its not a fun stuff to look into)
>
>
>
>> Babak
>>
>>>
>>>
>>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <[hidden email]>
>>> wrote:
>>>> A new release candidate apache-camel-2.10.0 final is out with
>>>> approximately
>>>> 473 issues resolved so far: improvements and bug fixes [1].
>>>>
>>>> Please find the staging repo here:
>>>> https://repository.apache.org/content/repositories/orgapachecamel-251/
>>>>
>>>> The tarballs are here
>>>>
>>>> https://repository.apache.org/content/repositories/orgapachecamel-251/org
>>>> /apache/camel/apache-camel/2.10.0/
>>>>
>>>> Tag:
>>>> http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/
>>>>
>>>> Please review, help out with testing and vote to approve this release
>>>> binary. Your vote counts!
>>>>
>>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>>> [ ] -1 Veto the release (provide specific comments)
>>>> Vote is open for at least 72 hours.
>>>>
>>>> Here's my +1.
>>>> Hadrian
>>>>
>>>> [1]
>>>>
>>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211
>>>> &version=12317612
>>>>
>>>> --
>>>> Hadrian Zbarcea
>>>> Principal Software Architect
>>>> Talend, Inc
>>>> http://coders.talend.com/
>>>> http://camelbot.blogspot.com/
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> FuseSource
>>> Email: [hidden email]
>>> Web: http://fusesource.com
>>> Twitter: davsclaus, fusenews
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>>
>
>
>

12