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/08/22 15:58:31 UTC
svn commit: r433636 -
/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java
Author: gnodet
Date: Tue Aug 22 06:58:31 2006
New Revision: 433636
URL: http://svn.apache.org/viewvc?rev=433636&view=rev
Log:
Log a readable Role for the exchange
Modified:
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java
Modified: incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java?rev=433636&r1=433635&r2=433636&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java (original)
+++ incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java Tue Aug 22 06:58:31 2006
@@ -374,7 +374,8 @@
public void processExchange(MessageExchange exchange) throws Exception {
if (logger.isDebugEnabled()) {
- logger.debug("Received exchange: status: " + exchange.getStatus() + ", role: " + exchange.getRole());
+ logger.debug("Received exchange: status: " + exchange.getStatus() + ", role: " +
+ (exchange.getRole() == Role.CONSUMER ? "consumer" : "provider"));
}
if (exchange.getRole() == Role.PROVIDER) {
boolean dynamic = false;