You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2008/03/31 21:10:52 UTC
svn commit: r643103 -
/incubator/tuscany/branches/sca-java-1.2/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java
Author: rfeng
Date: Mon Mar 31 12:10:49 2008
New Revision: 643103
URL: http://svn.apache.org/viewvc?rev=643103&view=rev
Log:
Fix for TUSCANY-2146 (merged from trunk)
Modified:
incubator/tuscany/branches/sca-java-1.2/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java
Modified: incubator/tuscany/branches/sca-java-1.2/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.2/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java?rev=643103&r1=643102&r2=643103&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.2/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java (original)
+++ incubator/tuscany/branches/sca-java-1.2/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java Mon Mar 31 12:10:49 2008
@@ -150,6 +150,10 @@
RuntimeComponentService componentService = (RuntimeComponentService) service;
wire = componentService.getRuntimeWire(notificationBinding);
+ for (InvocationChain ch : wire.getInvocationChains()) {
+ ch.setAllowsPassByReference(true);
+ }
+
brokerManager.serviceProviderStarted(notificationType, this, remoteNtmUrl);
started = true;
}
@@ -250,7 +254,7 @@
try {
StAXOMBuilder builder = new StAXOMBuilder(new ByteArrayInputStream(payload));
OMElement element = builder.getDocumentElement();
- return new Object[] { element, payload, incomingBrokerID };
+ return new Object[] { element };
}
catch(Exception e) {
throw new RuntimeException(e);
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org