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 2019/12/06 15:02:33 UTC

[camel] branch master updated (c94b885 -> dd98819)

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

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


    from c94b885  Upgrade Spring Boot to version 2.2.2.RELEASE in spring-boot-dm too
     new 05010d0  CAMEL-14263: camel-smpp should use source code generated configurer to avoid reflection configuration.
     new dd98819  CAMEL-14263: camel-netty-http should use source code generated configurer to avoid reflection configuration.

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:
 .../org/apache/camel/component/netty/http/NettyHttpComponent.java    | 1 +
 .../src/main/java/org/apache/camel/component/smpp/SmppComponent.java | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)


[camel] 01/02: CAMEL-14263: camel-smpp should use source code generated configurer to avoid reflection configuration.

Posted by ac...@apache.org.
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

commit 05010d016f87f734bf2dfcc5a2243517fec6f6fb
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Dec 6 15:36:14 2019 +0100

    CAMEL-14263: camel-smpp should use source code generated configurer to avoid reflection configuration.
---
 .../src/main/java/org/apache/camel/component/smpp/SmppComponent.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
index b6c991c..5959216 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
@@ -56,7 +56,10 @@ public class SmppComponent extends DefaultComponent {
         config.configureFromURI(new URI(uri));
         setProperties(config, parameters);
 
-        return createEndpoint(uri, config);
+        SmppEndpoint answer = new SmppEndpoint(uri, this, config);
+        setProperties(answer, parameters);
+        
+        return answer;
     }
 
     /**


[camel] 02/02: CAMEL-14263: camel-netty-http should use source code generated configurer to avoid reflection configuration.

Posted by ac...@apache.org.
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

commit dd98819b15ce5e3356a410301f2afa8fbe50be5b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Dec 6 16:01:43 2019 +0100

    CAMEL-14263: camel-netty-http should use source code generated configurer to avoid reflection configuration.
---
 .../java/org/apache/camel/component/netty/http/NettyHttpComponent.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java
index ca911bd..a7289e3 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java
@@ -168,6 +168,7 @@ public class NettyHttpComponent extends NettyComponent implements HeaderFilterSt
         String addressUri = URISupport.createRemainingURI(u, parameters).toString();
 
         NettyHttpEndpoint answer = new NettyHttpEndpoint(addressUri, this, config);
+        setProperties(answer, parameters);
 
         // must use a copy of the binding on the endpoint to avoid sharing same
         // instance that can cause side-effects