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 2006/05/08 22:59:25 UTC

svn commit: r405163 - /incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/EndpointDeliveryChannel.java

Author: gnodet
Date: Mon May  8 13:59:23 2006
New Revision: 405163

URL: http://svn.apache.org/viewcvs?rev=405163&view=rev
Log:
Avoid the use of deprecated function

Modified:
    incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/EndpointDeliveryChannel.java

Modified: incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/EndpointDeliveryChannel.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/EndpointDeliveryChannel.java?rev=405163&r1=405162&r2=405163&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/EndpointDeliveryChannel.java (original)
+++ incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/EndpointDeliveryChannel.java Mon May  8 13:59:23 2006
@@ -82,7 +82,7 @@
             }
         }
         BaseLifeCycle lf = (BaseLifeCycle) endpoint.getServiceUnit().getComponent().getLifeCycle();
-        lf.sendConsumerExchange(exchange, endpoint.getProcessor());
+        lf.sendConsumerExchange(exchange, endpoint);
     }
 
     public boolean sendSync(MessageExchange exchange, long timeout) throws MessagingException {