You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/12/08 10:50:31 UTC

svn commit: r724299 - /servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java

Author: gnodet
Date: Mon Dec  8 01:50:31 2008
New Revision: 724299

URL: http://svn.apache.org/viewvc?rev=724299&view=rev
Log:
SM-1712: MessageExchangeListener is called with exchangeSent instead of exchangeAccepted when using sendSync

Modified:
    servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java

Modified: servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java?rev=724299&r1=724298&r2=724299&view=diff
==============================================================================
--- servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java (original)
+++ servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java Mon Dec  8 01:50:31 2008
@@ -491,7 +491,7 @@
                 ExchangeEvent event = new ExchangeEvent(me, ExchangeEvent.EXCHANGE_ACCEPTED);
                 for (int i = 0; i < l.length; i++) {
                     try {
-                        l[i].exchangeSent(event);
+                        l[i].exchangeAccepted(event);
                     } catch (Exception e) {
                         LOG.warn("Error calling listener: " + e.getMessage(), e);
                     }