This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 963c7c4910d Polished
963c7c4910d is described below

commit 963c7c4910d6ac17c0dbaef9f19e0f6d360a4a94
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Nov 7 15:48:09 2022 +0100

    Polished
---
 core/camel-api/src/main/java/org/apache/camel/Route.java            | 6 +++---
 .../org/apache/camel/api/management/mbean/ManagedRouteMBean.java    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/Route.java 
b/core/camel-api/src/main/java/org/apache/camel/Route.java
index 500e407eb46..b2039689899 100644
--- a/core/camel-api/src/main/java/org/apache/camel/Route.java
+++ b/core/camel-api/src/main/java/org/apache/camel/Route.java
@@ -212,10 +212,10 @@ public interface Route extends RuntimeConfiguration {
      * Gets the last error that happened during changing the route lifecycle, 
i.e. such as when an exception was thrown
      * during starting the route.
      * <p/>
-     * This is only errors for route lifecycle changes, it is not exceptions 
thrown during routing messsages with the
+     * This is only errors for route lifecycle changes, it is not exceptions 
thrown during routing exchanges by the
      * Camel routing engine.
      *
-     * @return the error
+     * @return the error or <tt>null</tt> if no error
      */
     RouteError getLastError();
 
@@ -223,7 +223,7 @@ public interface Route extends RuntimeConfiguration {
      * Sets the last error that happened during changing the route lifecycle, 
i.e. such as when an exception was thrown
      * during starting the route.
      * <p/>
-     * This is only errors for route lifecycle changes, it is not exceptions 
thrown during routing messsages with the
+     * This is only errors for route lifecycle changes, it is not exceptions 
thrown during routing exchanges by the
      * Camel routing engine.
      *
      * @param error the error
diff --git 
a/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
 
b/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
index 72b00aa6a43..ce73585d0bd 100644
--- 
a/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
+++ 
b/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
@@ -142,7 +142,7 @@ public interface ManagedRouteMBean extends 
ManagedPerformanceCounterMBean {
     @ManagedAttribute(description = "Oldest inflight exchange id")
     String getOldestInflightExchangeId();
 
-    @ManagedAttribute(description = "Route controller")
+    @ManagedAttribute(description = "Is using route controller")
     Boolean getHasRouteController();
 
     @ManagedAttribute(description = "Last error")

Reply via email to