You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/10/19 01:32:53 UTC
svn commit: r465419 -
/incubator/servicemix/trunk/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java
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