You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/05/20 04:59:41 UTC

[1/2] git commit: Remove the system.out.println from MyProcessor

Repository: camel
Updated Branches:
  refs/heads/master e714a759a -> c16040248


Remove the system.out.println from MyProcessor


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b93d3c5e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b93d3c5e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b93d3c5e

Branch: refs/heads/master
Commit: b93d3c5e287fe45c454fd40ef30edd70ba7e6fac
Parents: e714a75
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue May 20 10:55:32 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue May 20 10:55:32 2014 +0800

----------------------------------------------------------------------
 .../java/org/apache/camel/component/cxf/holder/MyProcessor.java     | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b93d3c5e/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/holder/MyProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/holder/MyProcessor.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/holder/MyProcessor.java
index 94989b6..ca6a9ff 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/holder/MyProcessor.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/holder/MyProcessor.java
@@ -41,7 +41,6 @@ public class MyProcessor implements Processor {
             exchange.getOut().setBody(parameters);
         } else {
             List<Object> parameters = in.getBody(List.class);
-            System.out.println(parameters);
             int amount = (Integer) parameters.remove(0);
             Holder<String> securityOrder = (Holder<String>)parameters.get(0);
             securityOrder.value = "secureParts";


Re: [2/2] git commit: Upgrade CXF version to 3.0.0

Posted by Daniel Kulp <dk...@apache.org>.
On May 20, 2014, at 2:00 AM, Claus Ibsen <cl...@gmail.com> wrote:

> 
> And if there is an API breaking/change in CXF, we may need to upgrade
> the OSGi ranges for CXF to be [3,4)


This shouldn’t be an issue.   At this point, any place where the API’s in CXF are different, Camel uses a bit of reflection or proxies to be able to handle it.   Thus, Camel can still support 2.7 and 3.0.   

I would recommend updating to [2.7,4) as I’m pretty sure we haven’t done any testing with 2.6 lately at all and CXF will be dropping support for 2.6 shortly.     I’ll update that.

Dan





> 
> 
> On Tue, May 20, 2014 at 4:59 AM,  <ni...@apache.org> wrote:
>> Upgrade CXF version to 3.0.0
>> 
>> 
>> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c1604024
>> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c1604024
>> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c1604024
>> 
>> Branch: refs/heads/master
>> Commit: c160402483affab0f26fddd2abfeb5ec21e652b8
>> Parents: b93d3c5
>> Author: Willem Jiang <wi...@gmail.com>
>> Authored: Tue May 20 10:55:47 2014 +0800
>> Committer: Willem Jiang <wi...@gmail.com>
>> Committed: Tue May 20 10:55:47 2014 +0800
>> 
>> ----------------------------------------------------------------------
>> parent/pom.xml | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> ----------------------------------------------------------------------
>> 
>> 
>> http://git-wip-us.apache.org/repos/asf/camel/blob/c1604024/parent/pom.xml
>> ----------------------------------------------------------------------
>> diff --git a/parent/pom.xml b/parent/pom.xml
>> index 14659f8..b52b11f 100644
>> --- a/parent/pom.xml
>> +++ b/parent/pom.xml
>> @@ -107,7 +107,7 @@
>>     <commons-vfs2-version>2.0</commons-vfs2-version>
>>     <concurrentlinkedhashmap.version>1.4</concurrentlinkedhashmap.version>
>>     <cobertura-maven-plugin-version>2.5.2</cobertura-maven-plugin-version>
>> -    <cxf-version>2.7.11</cxf-version>
>> +    <cxf-version>3.0.0</cxf-version>
>>     <cxf-version-range>[2.6,4.0)</cxf-version-range>
>>     <cxf-xjc-utils-version>2.7.0</cxf-xjc-utils-version>
>>     <deltaspike-version>0.7</deltaspike-version>
>> 
> 
> 
> 
> -- 
> 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
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Re: [2/2] git commit: Upgrade CXF version to 3.0.0

Posted by Willem Jiang <wi...@gmail.com>.
Hi Claus,

Thanks for pointing that out, the build error is caused by the WSPasswordCallback is removed in CXF 3.0.0, we need to do some work as we do in the integration tests to avoid using WSPasswordCallback directly.

I just committed a quick for the the build error camel-example-reportincident-wssecurity, I will check other issue tomorrow.



--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On May 20, 2014 at 2:00:49 PM, Claus Ibsen (claus.ibsen@gmail.com) wrote:
> Hi
>  
> I think the CXF upgrade broke some examples. I get this compile error now
>  
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project camel-example-reportincident-wssecurity:
> Compilation failure: Compilation failure:
> [ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[26,29]  
> error: package org.apache.ws.security does not exist
> [ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[50,12]  
> error: cannot find symbol
> [ERROR] symbol: class WSPasswordCallback
> [ERROR] location: class UTPasswordCallback
> [ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[50,37]  
> error: cannot find symbol
> [ERROR] -> [Help 1]
>  
>  
> Also please check the maven archetypes we have with CXF as they may be
> broken/affected too.
>  
> And if there is an API breaking/change in CXF, we may need to upgrade
> the OSGi ranges for CXF to be [3,4)
>  
>  
>  
> On Tue, May 20, 2014 at 4:59 AM, wrote:
> > Upgrade CXF version to 3.0.0
> >
> >
> > Project: http://git-wip-us.apache.org/repos/asf/camel/repo
> > Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c1604024
> > Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c1604024
> > Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c1604024
> >
> > Branch: refs/heads/master
> > Commit: c160402483affab0f26fddd2abfeb5ec21e652b8
> > Parents: b93d3c5
> > Author: Willem Jiang  
> > Authored: Tue May 20 10:55:47 2014 +0800
> > Committer: Willem Jiang  
> > Committed: Tue May 20 10:55:47 2014 +0800
> >
> > ----------------------------------------------------------------------  
> > parent/pom.xml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > ----------------------------------------------------------------------  
> >
> >
> > http://git-wip-us.apache.org/repos/asf/camel/blob/c1604024/parent/pom.xml  
> > ----------------------------------------------------------------------  
> > diff --git a/parent/pom.xml b/parent/pom.xml
> > index 14659f8..b52b11f 100644
> > --- a/parent/pom.xml
> > +++ b/parent/pom.xml
> > @@ -107,7 +107,7 @@
> > 2.0
> > 1.4  
> > 2.5.2  
> > - 2.7.11
> > + 3.0.0
> > [2.6,4.0)
> > 2.7.0
> > 0.7
> >
>  
>  
>  
> --
> 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
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>  


Re: [2/2] git commit: Upgrade CXF version to 3.0.0

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I think the CXF upgrade broke some examples. I get this compile error now

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project camel-example-reportincident-wssecurity:
Compilation failure: Compilation failure:
[ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[26,29]
error: package org.apache.ws.security does not exist
[ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[50,12]
error: cannot find symbol
[ERROR] symbol:   class WSPasswordCallback
[ERROR] location: class UTPasswordCallback
[ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[50,37]
error: cannot find symbol
[ERROR] -> [Help 1]


Also please check the maven archetypes we have with CXF as they may be
broken/affected too.

And if there is an API breaking/change in CXF, we may need to upgrade
the OSGi ranges for CXF to be [3,4)



On Tue, May 20, 2014 at 4:59 AM,  <ni...@apache.org> wrote:
> Upgrade CXF version to 3.0.0
>
>
> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c1604024
> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c1604024
> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c1604024
>
> Branch: refs/heads/master
> Commit: c160402483affab0f26fddd2abfeb5ec21e652b8
> Parents: b93d3c5
> Author: Willem Jiang <wi...@gmail.com>
> Authored: Tue May 20 10:55:47 2014 +0800
> Committer: Willem Jiang <wi...@gmail.com>
> Committed: Tue May 20 10:55:47 2014 +0800
>
> ----------------------------------------------------------------------
>  parent/pom.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/camel/blob/c1604024/parent/pom.xml
> ----------------------------------------------------------------------
> diff --git a/parent/pom.xml b/parent/pom.xml
> index 14659f8..b52b11f 100644
> --- a/parent/pom.xml
> +++ b/parent/pom.xml
> @@ -107,7 +107,7 @@
>      <commons-vfs2-version>2.0</commons-vfs2-version>
>      <concurrentlinkedhashmap.version>1.4</concurrentlinkedhashmap.version>
>      <cobertura-maven-plugin-version>2.5.2</cobertura-maven-plugin-version>
> -    <cxf-version>2.7.11</cxf-version>
> +    <cxf-version>3.0.0</cxf-version>
>      <cxf-version-range>[2.6,4.0)</cxf-version-range>
>      <cxf-xjc-utils-version>2.7.0</cxf-xjc-utils-version>
>      <deltaspike-version>0.7</deltaspike-version>
>



-- 
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
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

[2/2] git commit: Upgrade CXF version to 3.0.0

Posted by ni...@apache.org.
Upgrade CXF version to 3.0.0


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c1604024
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c1604024
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c1604024

Branch: refs/heads/master
Commit: c160402483affab0f26fddd2abfeb5ec21e652b8
Parents: b93d3c5
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue May 20 10:55:47 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue May 20 10:55:47 2014 +0800

----------------------------------------------------------------------
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c1604024/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 14659f8..b52b11f 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -107,7 +107,7 @@
     <commons-vfs2-version>2.0</commons-vfs2-version>
     <concurrentlinkedhashmap.version>1.4</concurrentlinkedhashmap.version>
     <cobertura-maven-plugin-version>2.5.2</cobertura-maven-plugin-version>
-    <cxf-version>2.7.11</cxf-version>
+    <cxf-version>3.0.0</cxf-version>
     <cxf-version-range>[2.6,4.0)</cxf-version-range>
     <cxf-xjc-utils-version>2.7.0</cxf-xjc-utils-version>
     <deltaspike-version>0.7</deltaspike-version>