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:07:54 UTC

svn commit: r643102 - /incubator/tuscany/java/sca/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java

Author: rfeng
Date: Mon Mar 31 12:07:50 2008
New Revision: 643102

URL: http://svn.apache.org/viewvc?rev=643102&view=rev
Log:
Fix for TUSCANY-2146

Modified:
    incubator/tuscany/java/sca/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java

Modified: incubator/tuscany/java/sca/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java?rev=643102&r1=643101&r2=643102&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java (original)
+++ incubator/tuscany/java/sca/modules/binding-notification/src/main/java/org/apache/tuscany/sca/binding/notification/NotificationServiceBindingProvider.java Mon Mar 31 12:07:50 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