servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r680343 - /servicemix/smx3/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/WSNComponentTest.java
Date Mon, 28 Jul 2008 13:15:09 GMT
Author: gnodet
Date: Mon Jul 28 06:15:08 2008
New Revision: 680343

URL: http://svn.apache.org/viewvc?rev=680343&view=rev
Log:
Fix integration tests wrt to changes in the wsn2005 component

Modified:
    servicemix/smx3/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/WSNComponentTest.java

Modified: servicemix/smx3/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/WSNComponentTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/WSNComponentTest.java?rev=680343&r1=680342&r2=680343&view=diff
==============================================================================
--- servicemix/smx3/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/WSNComponentTest.java
(original)
+++ servicemix/smx3/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/WSNComponentTest.java
Mon Jul 28 06:15:08 2008
@@ -26,6 +26,7 @@
 
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerService;
+import org.apache.servicemix.client.DefaultServiceMixClient;
 import org.apache.servicemix.http.HttpComponent;
 import org.apache.servicemix.http.HttpEndpoint;
 import org.apache.servicemix.jbi.container.ActivationSpec;
@@ -67,7 +68,7 @@
         as.setComponent(wsnComponent);
         jbi.activateComponent(as);
 
-        wsnBroker = new NotificationBroker(jbi);
+        wsnBroker = new NotificationBroker(new DefaultServiceMixClient(jbi).getContext());
     }
 
     protected void tearDown() throws Exception {



Mime
View raw message