This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch camel-2.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.20.x by this push:
new 51de426 CAMEL-12069: ActiveMQ/JMS component: transferExchange option
does not transfer exchange properties anymore
51de426 is described below
commit 51de42676861120d0d0e74c0ed47caf8680b254b
Author: Pascal Schumacher <[email protected]>
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
['"[email protected]" <[email protected]>'].