Author: hadrian
Date: Wed Jan 11 03:55:04 2012
New Revision: 1229886

URL: http://svn.apache.org/viewvc?rev=1229886&view=rev
Log:
CAMEL-4882. Fix compiler issue due to backport not accounting for api change

Modified:
    
camel/branches/camel-2.8.x/camel-core/src/test/java/org/apache/camel/component/seda/SedaTimeoutTest.java

Modified: 
camel/branches/camel-2.8.x/camel-core/src/test/java/org/apache/camel/component/seda/SedaTimeoutTest.java
URL: 
http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/camel-core/src/test/java/org/apache/camel/component/seda/SedaTimeoutTest.java?rev=1229886&r1=1229885&r2=1229886&view=diff
==============================================================================
--- 
camel/branches/camel-2.8.x/camel-core/src/test/java/org/apache/camel/component/seda/SedaTimeoutTest.java
 (original)
+++ 
camel/branches/camel-2.8.x/camel-core/src/test/java/org/apache/camel/component/seda/SedaTimeoutTest.java
 Wed Jan 11 03:55:04 2012
@@ -44,9 +44,9 @@ public class SedaTimeoutTest extends Con
             assertIsInstanceOf(CamelExecutionException.class, e.getCause());
             assertIsInstanceOf(ExchangeTimedOutException.class, 
e.getCause().getCause());
 
-            SedaEndpoint se = 
(SedaEndpoint)context.getRoute("seda").getEndpoint();
+            SedaEndpoint se = (SedaEndpoint)context.getEndpoint("seda:foo");
             assertNotNull("Consumer endpoint cannot be null", se);
-            assertEquals("Timeout Exchanges should be removed from queue", 0, 
se.getCurrentQueueSize());
+            assertEquals("Timeout Exchanges should be removed from queue", 0, 
se.getQueue().size());
         }
     }
 


Reply via email to