You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2008/12/08 10:32:39 UTC
svn commit: r724297 -
/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java
Author: ffang
Date: Mon Dec 8 01:32:38 2008
New Revision: 724297
URL: http://svn.apache.org/viewvc?rev=724297&view=rev
Log:
[SM-1717]getError() shouldn't return a null exception in case of sendSync timeout
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=724297&r1=724296&r2=724297&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:32:38 2008
@@ -503,6 +503,8 @@
LOG.debug("Exchange " + messageExchange.getExchangeId() + " has been aborted");
}
me.getPacket().setAborted(true);
+ me.getPacket().setError(new RuntimeException("sendSync timeout for "
+ + messageExchange.getExchangeId()));
result = false;
}
} catch (InterruptedException e) {