camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject svn commit: r823273 - in /camel/trunk/components/camel-jms/src: main/java/org/apache/camel/component/jms/JmsMessage.java test/java/org/apache/camel/component/jms/JmsRouteEndpointTest.java
Date Thu, 08 Oct 2009 18:55:10 GMT
Author: janstey
Date: Thu Oct  8 18:55:10 2009
New Revision: 823273

URL: http://svn.apache.org/viewvc?rev=823273&view=rev
Log:
add simple assertion for endpoint uri

Modified:
    camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
    camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteEndpointTest.java

Modified: camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java?rev=823273&r1=823272&r2=823273&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
(original)
+++ camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
Thu Oct  8 18:55:10 2009
@@ -57,7 +57,7 @@
     @Override
     public void copyFrom(org.apache.camel.Message that) {
         // must initialize headers before we set the JmsMessage to avoid Camel
-        // populateing it before we do the copy
+        // populating it before we do the copy
         getHeaders().clear();
 
         boolean copyMessageId = true;

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteEndpointTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteEndpointTest.java?rev=823273&r1=823272&r2=823273&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteEndpointTest.java
(original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteEndpointTest.java
Thu Oct  8 18:55:10 2009
@@ -38,6 +38,8 @@
 
         template.sendBody(jms, "Hello World");
 
+        assertEndpointUri(jms, "jms:queue:hello");
+        
         result.assertIsSatisfied();
     }
 



Mime
View raw message