camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject [3/3] camel git commit: CAMEL-11335: Rename status field
Date Wed, 31 May 2017 07:54:33 GMT
CAMEL-11335: Rename status field

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a229f53d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a229f53d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a229f53d

Branch: refs/heads/master
Commit: a229f53d0ebae6e26fd76c83202f77cf62e80efb
Parents: 8bd0c59
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Wed May 31 09:32:41 2017 +0200
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Wed May 31 09:32:41 2017 +0200

----------------------------------------------------------------------
 .../spring/boot/actuate/endpoint/CamelRoutesEndpoint.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a229f53d/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
index 0ccab97..a2a8b06 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
@@ -67,7 +67,7 @@ public class CamelRoutesEndpoint extends AbstractEndpoint<List<RouteEndpointInfo
 
         private final long uptimeMillis;
 
-        private String serviceStatus;
+        private String status;
 
         public RouteEndpointInfo(Route route) {
             this.id = route.getId();
@@ -76,7 +76,7 @@ public class CamelRoutesEndpoint extends AbstractEndpoint<List<RouteEndpointInfo
             this.uptimeMillis = route.getUptimeMillis();
 
             if (route instanceof StatefulService) {
-                this.serviceStatus = ((StatefulService) route).getStatus().name();
+                this.status = ((StatefulService) route).getStatus().name();
             }
         }
 
@@ -96,8 +96,8 @@ public class CamelRoutesEndpoint extends AbstractEndpoint<List<RouteEndpointInfo
             return uptimeMillis;
         }
 
-        public String getServiceStatus() {
-            return serviceStatus;
+        public String getStatus() {
+            return status;
         }
     }
 


Mime
View raw message