You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/08/29 09:20:11 UTC

[camel] branch master updated: Upgrade Quickfixj to version 2.1.0

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2513a9c  Upgrade Quickfixj to version 2.1.0
2513a9c is described below

commit 2513a9ce1430eb9c6e7d495372f5c9f5a5f9ec39
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Aug 29 11:19:44 2018 +0200

    Upgrade Quickfixj to version 2.1.0
---
 .../apache/camel/component/quickfixj/QuickfixjEngine.java  | 14 +++++---------
 parent/pom.xml                                             |  2 +-
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
index 9e6dc0d..e455033 100644
--- a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
+++ b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
@@ -418,15 +418,11 @@ public class QuickfixjEngine extends ServiceSupport {
         boolean hasRole = false;
         Iterator<SessionID> sessionIdItr = settings.sectionIterator();
         while (sessionIdItr.hasNext()) {
-            try {
-                if (connectorRole.equals(settings.getString(sessionIdItr.next(),
-                        SessionFactory.SETTING_CONNECTION_TYPE))) {
-                    hasRole = true;
-                    break;
-                }
-            } catch (FieldConvertError e) {
-                throw new ConfigError(e);
-            }
+            if (connectorRole.equals(settings.getString(sessionIdItr.next(),
+			        SessionFactory.SETTING_CONNECTION_TYPE))) {
+			    hasRole = true;
+			    break;
+			}
         }
         return hasRole;
     }
diff --git a/parent/pom.xml b/parent/pom.xml
index 65668fc..80067bc 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -576,7 +576,7 @@
     <quartz-version>1.8.6</quartz-version>
     <quartz-version-range>[1.8,2)</quartz-version-range>
     <quartz2-version>2.3.0</quartz2-version>
-    <quickfixj-version>2.0.0</quickfixj-version>
+    <quickfixj-version>2.1.0</quickfixj-version>
     <rabbitmq-amqp-client-version>5.3.0</rabbitmq-amqp-client-version>
     <reactive-streams-version>1.0.2</reactive-streams-version>
     <reactor-version>3.1.8.RELEASE</reactor-version>