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 2017/12/10 11:25:54 UTC

[camel] branch master updated: CAMEL-12069: ActiveMQ/JMS component: transferExchange option does not transfer exchange properties anymore

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


The following commit(s) were added to refs/heads/master by this push:
     new 364b7f4  CAMEL-12069: ActiveMQ/JMS component: transferExchange option does not transfer exchange properties anymore
364b7f4 is described below

commit 364b7f452ba663114a16543521370860ec404a33
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Dec 10 12:25:46 2017 +0100

    CAMEL-12069: ActiveMQ/JMS component: transferExchange option does not transfer exchange properties anymore
    
    ActiveMQPropagateSerializableHeadersTest: deactivate message history to prevent "java.io.NotSerializableException: org.apache.camel.impl.DefaultMessageHistory".
---
 .../component/jms/issues/ActiveMQPropagateSerializableHeadersTest.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/ActiveMQPropagateSerializableHeadersTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/ActiveMQPropagateSerializableHeadersTest.java
index cdb4318..50b666e 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/ActiveMQPropagateSerializableHeadersTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/ActiveMQPropagateSerializableHeadersTest.java
@@ -94,6 +94,9 @@ public class ActiveMQPropagateSerializableHeadersTest extends CamelTestSupport {
         camelContext.addComponent("activemq", jmsComponentAutoAcknowledge(connectionFactory));
         // END SNIPPET: example
 
+        // prevent java.io.NotSerializableException: org.apache.camel.impl.DefaultMessageHistory
+        camelContext.setMessageHistory(false);
+
         return camelContext;
     }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].