servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r389080 - /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/DeploymentService.java
Date Mon, 27 Mar 2006 09:12:21 GMT
Author: gnodet
Date: Mon Mar 27 01:12:19 2006
New Revision: 389080

URL: http://svn.apache.org/viewcvs?rev=389080&view=rev
Log:
Fix inverted test when an error occurs parsing the component task result

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/DeploymentService.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/DeploymentService.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/DeploymentService.java?rev=389080&r1=389079&r2=389080&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/DeploymentService.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/DeploymentService.java
Mon Mar 27 01:12:19 2006
@@ -594,11 +594,11 @@
             // and consider this is a successfull deployment
             try {
                 if (success) {
-                    result = ManagementSupport.createComponentFailure(
+                    result = ManagementSupport.createComponentWarning(
                             "deploy", component,
                             "Unable to parse result string", e);
                 } else {
-                    result = ManagementSupport.createComponentWarning(
+                    result = ManagementSupport.createComponentFailure(
                             "deploy", component,
                             "Unable to parse result string", e);
                 }



Mime
View raw message