camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/6] camel git commit: CAMEL-10893 PDU was not copied when creating new instance
Date Fri, 24 Feb 2017 12:38:32 GMT
CAMEL-10893 PDU was not copied when creating new instance


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

Branch: refs/heads/master
Commit: 16889638cc631c9e1cfe9eca4acc824a0ab9d9cd
Parents: 3f2b6ae
Author: Sverker Abrahamsson <sverker@limetransit.com>
Authored: Fri Feb 24 12:28:55 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Feb 24 13:31:00 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/component/snmp/SnmpMessage.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/16889638/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpMessage.java
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpMessage.java
b/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpMessage.java
index ab4c29d..0ba0156 100644
--- a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpMessage.java
+++ b/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpMessage.java
@@ -56,7 +56,7 @@ public class SnmpMessage extends DefaultMessage {
 
     @Override
     public SnmpMessage newInstance() {
-        return new SnmpMessage();
+        return new SnmpMessage(this.pdu);
     }
 
     @Override


Mime
View raw message