This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new c551253 camel-log: Add missing closing bracket in showCaughtException
parameter documentation.
c551253 is described below
commit c551253ab5e88cdbdc46cffe452da8597d633997
Author: Pascal Schumacher <[email protected]>
AuthorDate: Fri Dec 20 17:51:41 2019 +0100
camel-log: Add missing closing bracket in showCaughtException parameter
documentation.
---
components/camel-log/src/main/docs/log-component.adoc | 2 +-
.../src/main/java/org/apache/camel/component/log/LogEndpoint.java | 2 +-
.../apache/camel/builder/endpoint/dsl/LogEndpointBuilderFactory.java | 4 ++--
.../org/apache/camel/support/processor/DefaultExchangeFormatter.java | 2 +-
docs/components/modules/ROOT/pages/log-component.adoc | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/components/camel-log/src/main/docs/log-component.adoc
b/components/camel-log/src/main/docs/log-component.adoc
index a1873b7..894e598 100644
--- a/components/camel-log/src/main/docs/log-component.adoc
+++ b/components/camel-log/src/main/docs/log-component.adoc
@@ -121,7 +121,7 @@ with the following path and query parameters:
| *showAll* (formatting) | Quick option for turning all options on.
(multiline, maxChars has to be manually set if to be used) | false | boolean
| *showBody* (formatting) | Show the message body. | true | boolean
| *showBodyType* (formatting) | Show the body Java type. | true | boolean
-| *showCaughtException* (formatting) | If the exchange has a caught exception,
show the exception message (no stack trace). A caught exception is stored as a
property on the exchange (using the key
org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can catch
exceptions. | false | boolean
+| *showCaughtException* (formatting) | If the exchange has a caught exception,
show the exception message (no stack trace). A caught exception is stored as a
property on the exchange (using the key
org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a doCatch can
catch exceptions. | false | boolean
| *showException* (formatting) | If the exchange has an exception, show the
exception message (no stacktrace) | false | boolean
| *showExchangeId* (formatting) | Show the unique exchange ID. | false |
boolean
| *showExchangePattern* (formatting) | Shows the Message Exchange Pattern (or
MEP for short). | true | boolean
diff --git
a/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
b/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
index e3a814b..a9e33de 100644
---
a/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
+++
b/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
@@ -85,7 +85,7 @@ public class LogEndpoint extends ProcessorEndpoint {
@UriParam(label = "formatting", description = "If the exchange has an
exception, show the exception message (no stacktrace)")
private boolean showException;
@UriParam(label = "formatting", description = "If the exchange has a
caught exception, show the exception message (no stack trace)."
- + " A caught exception is stored as a property on the exchange
(using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a
doCatch can catch exceptions.")
+ + " A caught exception is stored as a property on the exchange
(using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a
doCatch can catch exceptions.")
private boolean showCaughtException;
@UriParam(label = "formatting", description = "Show the stack trace, if an
exchange has an exception. Only effective if one of showAll, showException or
showCaughtException are enabled.")
private boolean showStackTrace;
diff --git
a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/LogEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/LogEndpointBuilderFactory.java
index 0b536d1..8d2fdd2 100644
---
a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/LogEndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/LogEndpointBuilderFactory.java
@@ -332,7 +332,7 @@ public interface LogEndpointBuilderFactory {
/**
* If the exchange has a caught exception, show the exception message
* (no stack trace). A caught exception is stored as a property on the
- * exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT
+ * exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT)
* and for instance a doCatch can catch exceptions.
*
* The option is a: <code>boolean</code> type.
@@ -347,7 +347,7 @@ public interface LogEndpointBuilderFactory {
/**
* If the exchange has a caught exception, show the exception message
* (no stack trace). A caught exception is stored as a property on the
- * exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT
+ * exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT)
* and for instance a doCatch can catch exceptions.
*
* The option will be converted to a <code>boolean</code> type.
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
b/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
index 6c9114e..8eef6fa 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
@@ -60,7 +60,7 @@ public class DefaultExchangeFormatter implements
ExchangeFormatter {
@UriParam(label = "formatting", description = "If the exchange has an
exception, show the exception message (no stacktrace)")
private boolean showException;
@UriParam(label = "formatting", description = "f the exchange has a caught
exception, show the exception message (no stack trace)."
- + " A caught exception is stored as a property on the exchange (using the
key org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can
catch exceptions.")
+ + " A caught exception is stored as a property on the exchange (using the
key org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a doCatch can
catch exceptions.")
private boolean showCaughtException;
@UriParam(label = "formatting", description = "Show the stack trace, if an
exchange has an exception. Only effective if one of showAll, showException or
showCaughtException are enabled.")
private boolean showStackTrace;
diff --git a/docs/components/modules/ROOT/pages/log-component.adoc
b/docs/components/modules/ROOT/pages/log-component.adoc
index 23cf7e2..50532f5 100644
--- a/docs/components/modules/ROOT/pages/log-component.adoc
+++ b/docs/components/modules/ROOT/pages/log-component.adoc
@@ -122,7 +122,7 @@ with the following path and query parameters:
| *showAll* (formatting) | Quick option for turning all options on.
(multiline, maxChars has to be manually set if to be used) | false | boolean
| *showBody* (formatting) | Show the message body. | true | boolean
| *showBodyType* (formatting) | Show the body Java type. | true | boolean
-| *showCaughtException* (formatting) | f the exchange has a caught exception,
show the exception message (no stack trace).A caught exception is stored as a
property on the exchange (using the key
org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can catch
exceptions. | false | boolean
+| *showCaughtException* (formatting) | f the exchange has a caught exception,
show the exception message (no stack trace).A caught exception is stored as a
property on the exchange (using the key
org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a doCatch can
catch exceptions. | false | boolean
| *showException* (formatting) | If the exchange has an exception, show the
exception message (no stacktrace) | false | boolean
| *showExchangeId* (formatting) | Show the unique exchange ID. | false |
boolean
| *showExchangePattern* (formatting) | Shows the Message Exchange Pattern (or
MEP for short). | true | boolean