camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1174817 - /camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
Date Fri, 23 Sep 2011 14:50:02 GMT
Author: davsclaus
Date: Fri Sep 23 14:50:02 2011
New Revision: 1174817

URL: http://svn.apache.org/viewvc?rev=1174817&view=rev
Log:
CAMEL-4481: Added missing setter/getter for preserveMessageQos on JmsComponent.

Modified:
    camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java

Modified: camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java?rev=1174817&r1=1174816&r2=1174817&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
(original)
+++ camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
Fri Sep 23 14:50:02 2011
@@ -333,11 +333,19 @@ public class JmsComponent extends Defaul
     }
 
     public ReplyToType getReplyToType() {
-        return configuration.getReplyToType();
+        return getConfiguration().getReplyToType();
     }
 
     public void setReplyToType(ReplyToType replyToType) {
-        configuration.setReplyToType(replyToType);
+        getConfiguration().setReplyToType(replyToType);
+    }
+
+    public boolean isPreserveMessageQos() {
+        return getConfiguration().isPreserveMessageQos();
+    }
+
+    public void setPreserveMessageQos(boolean preserveMessageQos) {
+        getConfiguration().setPreserveMessageQos(preserveMessageQos);
     }
 
     public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
{



Mime
View raw message