This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new ab59ad4  [CAMEL-17475]upgrade to CXF 3.5.0
ab59ad4 is described below

commit ab59ad48810dd6e6a8d0d852abb3a32257772b6e
Author: Freeman Fang <freeman.f...@gmail.com>
AuthorDate: Tue Jan 11 19:30:29 2022 -0500

    [CAMEL-17475]upgrade to CXF 3.5.0
---
 .../component/cxf/mtom/CxfMtomDisabledProducerPayloadModeTest.java    | 4 ++--
 parent/pom.xml                                                        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomDisabledProducerPayloadModeTest.java
 
b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomDisabledProducerPayloadModeTest.java
index 924be5d..1113d73 100644
--- 
a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomDisabledProducerPayloadModeTest.java
+++ 
b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomDisabledProducerPayloadModeTest.java
@@ -167,7 +167,7 @@ public class CxfMtomDisabledProducerPayloadModeTest extends 
CxfMtomProducerPaylo
                 DataSource ds = new AttachmentDataSource("image/jpeg", 
getClass().getResourceAsStream("/Splash.jpg"));
                 map.put(MtomTestHelper.RESP_IMAGE_CID, new DataHandler(ds));
 
-            } catch (IOException e) {
+            } catch (Exception e) {
                 LOG.warn("I/O error: {}", e.getMessage(), e);
             }
 
@@ -177,7 +177,7 @@ public class CxfMtomDisabledProducerPayloadModeTest extends 
CxfMtomProducerPaylo
                         new 
ByteArrayInputStream(MtomTestHelper.RESP_PHOTO_DATA));
                 map.put(MtomTestHelper.RESP_PHOTO_CID, new DataHandler(ds));
 
-            } catch (IOException e) {
+            } catch (Exception e) {
                 LOG.warn("I/O error: {}", e.getMessage(), e);
             }
 
diff --git a/parent/pom.xml b/parent/pom.xml
index 68324af..3de18c9 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -141,7 +141,7 @@
         <corda-version>4.8</corda-version>
         <couchbase-client-version>3.2.0</couchbase-client-version>
         <curator-version>4.3.0</curator-version>
-        <cxf-version>3.4.5</cxf-version>
+        <cxf-version>3.5.0</cxf-version>
         <cxf-version-range>[3.4,4.0)</cxf-version-range>
         <cxf-codegen-plugin-version>3.4.5</cxf-codegen-plugin-version>
         <!-- cxf-xjc is not released as often -->

Reply via email to