servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r465419 - /incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java
Date Wed, 18 Oct 2006 23:32:53 GMT
Author: gnodet
Date: Wed Oct 18 16:32:52 2006
New Revision: 465419

URL: http://svn.apache.org/viewvc?view=rev&rev=465419
Log:
SM-695: Dynamic HTTP provider endpoint

Modified:
    incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java

Modified: incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java?view=diff&rev=465419&r1=465418&r2=465419
==============================================================================
--- incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java
(original)
+++ incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java
Wed Oct 18 16:32:52 2006
@@ -60,8 +60,7 @@
     protected long testInOnly(String msg, boolean streaming) throws Exception {
         // HTTP Component
         HttpComponent component = new HttpComponent();
-        ((HttpLifeCycle) component.getLifeCycle()).getConfiguration()
-                .setStreamingEnabled(streaming);
+        component.getConfiguration().setStreamingEnabled(streaming);
         container.activateComponent(component, "HttpProviderTest");
 
         // Add a receiver component
@@ -126,8 +125,7 @@
             throws Exception {
         // HTTP Component
         HttpComponent component = new HttpComponent();
-        ((HttpLifeCycle) component.getLifeCycle()).getConfiguration()
-                .setStreamingEnabled(streaming);
+        component.getConfiguration().setStreamingEnabled(streaming);
         container.activateComponent(component, "HttpProviderTest");
 
         // Add a receiver component
@@ -183,8 +181,7 @@
     protected String testInOut(String msg, boolean streaming) throws Exception {
         // HTTP Component
         HttpComponent component = new HttpComponent();
-        ((HttpLifeCycle) component.getLifeCycle()).getConfiguration()
-                .setStreamingEnabled(streaming);
+        component.getConfiguration().setStreamingEnabled(streaming);
         container.activateComponent(component, "HTTPComponent");
 
         // Add a echo component



Mime
View raw message