camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r711971 - in /activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms: DestinationTransformProcessor.java JmsBinding.java
Date Thu, 06 Nov 2008 20:42:18 GMT
Author: davsclaus
Date: Thu Nov  6 12:42:08 2008
New Revision: 711971

URL: http://svn.apache.org/viewvc?rev=711971&view=rev
Log:
Marked a not used class @deprecated. Removed if .. else that was the same code.

Modified:
    activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/DestinationTransformProcessor.java
    activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsBinding.java

Modified: activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/DestinationTransformProcessor.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/DestinationTransformProcessor.java?rev=711971&r1=711970&r2=711971&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/DestinationTransformProcessor.java
(original)
+++ activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/DestinationTransformProcessor.java
Thu Nov  6 12:42:08 2008
@@ -19,6 +19,7 @@
 /**
  * A processor which is capable of transforming the
  *
+ * @deprecated not used. Will be removed in Camel 2.0
  * @version $Revision$
  */
 public class DestinationTransformProcessor {

Modified: activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsBinding.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsBinding.java?rev=711971&r1=711970&r2=711971&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsBinding.java
(original)
+++ activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsBinding.java
Thu Nov  6 12:42:08 2008
@@ -226,9 +226,6 @@
             if (headerName.equals("JMSCorrelationID")) {
                 jmsMessage.setJMSCorrelationID(ExchangeHelper.convertToType(exchange, String.class,
                     headerValue));
-            } else if (headerName.equals("JMSCorrelationID")) {
-                jmsMessage.setJMSCorrelationID(ExchangeHelper.convertToType(exchange, String.class,
-                    headerValue));
             } else if (headerName.equals("JMSReplyTo") && headerValue != null) {
                 jmsMessage.setJMSReplyTo(ExchangeHelper.convertToType(exchange, Destination.class,
                     headerValue));



Mime
View raw message