You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2009/07/30 18:44:12 UTC

svn commit: r799357 - /tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java

Author: slaws
Date: Thu Jul 30 16:44:12 2009
New Revision: 799357

URL: http://svn.apache.org/viewvc?rev=799357&view=rev
Log:
TUSCANY-3187 - add the service wire to the leaf service rather than the service that holds the endpoint. 

Modified:
    tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java

Modified: tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java?rev=799357&r1=799356&r2=799357&view=diff
==============================================================================
--- tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java (original)
+++ tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java Thu Jul 30 16:44:12 2009
@@ -377,7 +377,11 @@
                                                     wireProcessor,
                                                     messageFactory);
 
-            runtimeService.getRuntimeWires().add(wire);
+            // TODO - EPR - TUSCANY-3187 - keep and eye on this as to code
+            //      has been reported to be working without this fix in some 
+            //      environments
+            //runtimeService.getRuntimeWires().add(wire);
+            ((RuntimeComponentService)endpoint.getService()).getRuntimeWires().add(wire);
         }
     }