You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2018/08/10 16:27:54 UTC

[camel] branch master updated (148156e -> 81821be)

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

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


    from 148156e  Fix broken external links in component documentation
     new 08c5c41  camel-smpp: SmppConnectionFactory keep cause when constructing new Exceptions
     new 81821be  camel-smpp: SmppBinding: minimal corrections to debug level logging

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/camel/component/smpp/SmppBinding.java    | 4 ++--
 .../java/org/apache/camel/component/smpp/SmppConnectionFactory.java   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


[camel] 01/02: camel-smpp: SmppConnectionFactory keep cause when constructing new Exceptions

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 08c5c413ac8152af423c337c634148444e144e5f
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Fri Aug 10 18:22:40 2018 +0200

    camel-smpp: SmppConnectionFactory keep cause when constructing new Exceptions
---
 .../java/org/apache/camel/component/smpp/SmppConnectionFactory.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
index 76e65fa..113393a 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
@@ -111,7 +111,7 @@ public final class SmppConnectionFactory implements ConnectionFactory {
 
             return new SocketConnection(socket);
         } catch (Exception e) {
-            throw new IOException(e.getMessage());
+            throw new IOException(e.getMessage(), e);
         }
     }
 
@@ -179,7 +179,7 @@ public final class SmppConnectionFactory implements ConnectionFactory {
             throw re;
         } catch (Exception e) {
             closeSocket(socket);
-            throw new RuntimeException("SmppConnectionFactory: " + e.getMessage());
+            throw new RuntimeException("SmppConnectionFactory: " + e.getMessage(), e);
         }
     }
 


[camel] 02/02: camel-smpp: SmppBinding: minimal corrections to debug level logging

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 81821be9900516552d5a8fa2342509defdefdfab
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Fri Aug 10 18:27:36 2018 +0200

    camel-smpp: SmppBinding: minimal corrections to debug level logging
---
 .../src/main/java/org/apache/camel/component/smpp/SmppBinding.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java
index aa97614..36089fa 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java
@@ -203,10 +203,10 @@ public class SmppBinding {
                         optParams.put(valueOfTag.toString(), null);
                     }
                 } else {
-                    LOG.debug("Skipping optional parameter with tag {} because it was not recogized", optPara.tag);
+                    LOG.debug("Skipping optional parameter with tag {} because it was not recognized", optPara.tag);
                 }
             } catch (IllegalArgumentException e) {
-                LOG.debug("Skipping optional parameter with tag {} due " + e.getMessage(), optPara.tag);
+                LOG.debug("Skipping optional parameter with tag {} due to {}", optPara.tag, e.getMessage());
             }
         }