summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-30 16:44:12 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-30 16:44:12 +0000
commite9e6e0eada9f6bcc907692611c64546a4c9b434f (patch)
tree9564ca8f36fb9fc90fcc9f975bbf730faadcce15 /java
parent40e290f6e88362d49638bad63820e1dd127d3aac (diff)
TUSCANY-3187 - add the service wire to the leaf service rather than the service that holds the endpoint.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
index c213d9f8d2..af46ee5fc6 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
@@ -377,7 +377,11 @@ public class CompositeActivatorImpl implements CompositeActivator {
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);
}
}