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 00c874361672 CAMEL-23832: camel-browse - improve the component and
option descriptions (#30958)
00c874361672 is described below
commit 00c874361672ca9fcf21c90bd89d693824d2f51a
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 27 11:17:41 2026 +0100
CAMEL-23832: camel-browse - improve the component and option descriptions
(#30958)
New texts for the component description, the component option browseLimit
and the endpoint options name,
browseLimit and filter. The old component description said that the
component inspects the messages of other
BrowsableEndpoint endpoints, while it keeps the messages sent to its own
endpoint. The old texts also did not say
that browseLimit removes the oldest message, or that a message the filter
skips does not reach the consumer.
Documentation only, no behavior change. The component JSON, the catalog
copy, the doc page header and the DSL are
regenerated. camel-browse is marked as done in
tasks/component-descriptions.md.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../apache/camel/catalog/components/browse.json | 10 +--
.../camel/catalog/docs/browse-component.adoc | 2 +-
.../org/apache/camel/component/browse/browse.json | 10 +--
.../src/main/docs/browse-component.adoc | 2 +-
.../camel/component/browse/BrowseComponent.java | 4 +-
.../camel/component/browse/BrowseEndpoint.java | 17 ++--
.../component/ComponentsBuilderFactory.java | 3 +-
.../dsl/BrowseComponentBuilderFactory.java | 12 ++-
.../builder/endpoint/StaticEndpointBuilders.java | 12 ++-
.../endpoint/dsl/BrowseEndpointBuilderFactory.java | 97 +++++++++++++++-------
tasks/component-descriptions.md | 2 +-
11 files changed, 110 insertions(+), 61 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/browse.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/browse.json
index 8b41177a2015..255e8eb25cc1 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/browse.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/browse.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "browse",
"title": "Browse",
- "description": "Inspect the messages received on endpoints supporting
BrowsableEndpoint.",
+ "description": "Keep the messages sent to the endpoint in memory, so that
tests, tools and the developer console can browse them.",
"deprecated": false,
"firstVersion": "1.3.0",
"label": "core,monitoring",
@@ -28,7 +28,7 @@
"bridgeErrorHandler": { "index": 0, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"lazyStartProducer": { "index": 1, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the producer should be started lazy (on the first message). By
starting lazy you can use this to allow CamelContext and routes to startup in
situations where a producer may otherwise fail [...]
"autowiredEnabled": { "index": 2, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
- "browseLimit": { "index": 3, "kind": "property", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "Maximum number of messages to keep in memory
available for browsing. Use 0 for unlimited." }
+ "browseLimit": { "index": 3, "kind": "property", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The maximum number of messages that each
endpoint keeps in memory for browsing, for the endpoints that do not set their
own browseLimit. When a new message goes over the limit, the oldest message is
removed from the list. Use 0 for no [...]
},
"bodyTypes": {
"consumerOut": { "carriers": [ "unchanged" ], "description": "The body the
producer sent: the route runs on the same exchange, in the thread of the
producer" },
@@ -36,12 +36,12 @@
"producerOut": { "carriers": [ "unchanged" ], "description": "Unchanged,
unless a route consumes from the same browse endpoint: it runs on the same
exchange, so the body is the one that route ends with" }
},
"properties": {
- "name": { "index": 0, "kind": "path", "displayName": "Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "A name which can be any string to uniquely identify the
endpoint" },
+ "name": { "index": 0, "kind": "path", "displayName": "Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The name of the endpoint, which can be any string. The routes
that send to and consume from the same endpoint URI share its list of
messages." },
"bridgeErrorHandler": { "index": 1, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"exceptionHandler": { "index": 2, "kind": "parameter", "displayName":
"Exception Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By def [...]
"exchangePattern": { "index": 3, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "enum", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ],
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
"lazyStartProducer": { "index": 4, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produc [...]
- "browseLimit": { "index": 5, "kind": "parameter", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "Maximum number of messages to keep in memory
available for browsing. Use 0 for unlimited." },
- "filter": { "index": 6, "kind": "parameter", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "java.util.function.Predicate<org.apache.camel.Exchange>",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a predicate to filter whether to include the message for browsing. Return
true to include, false to exclude." }
+ "browseLimit": { "index": 5, "kind": "parameter", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The maximum number of messages that the
endpoint keeps in memory for browsing. When a new message goes over the limit,
the oldest message is removed from the list. The default is the browseLimit of
the component, and 0 means no limit, [...]
+ "filter": { "index": 6, "kind": "parameter", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "java.util.function.Predicate<org.apache.camel.Exchange>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
predicate that the producer tests on each message: true keeps the message for
browsing, false skips it. A skipped message is also not passed to the route
that consumes from the endpoint. If no [...]
}
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/browse-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/browse-component.adoc
index cb5dee59edc9..981649698cc0 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/browse-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/browse-component.adoc
@@ -2,7 +2,7 @@
:doctitle: Browse
:shortname: browse
:artifactid: camel-browse
-:description: Inspect the messages received on endpoints supporting
BrowsableEndpoint.
+:description: Keep the messages sent to the endpoint in memory, so that tests,
tools and the developer console can browse them.
:since: 1.3
:supportlevel: Stable
:tabs-sync-option:
diff --git
a/components/camel-browse/src/generated/resources/META-INF/org/apache/camel/component/browse/browse.json
b/components/camel-browse/src/generated/resources/META-INF/org/apache/camel/component/browse/browse.json
index 8b41177a2015..255e8eb25cc1 100644
---
a/components/camel-browse/src/generated/resources/META-INF/org/apache/camel/component/browse/browse.json
+++
b/components/camel-browse/src/generated/resources/META-INF/org/apache/camel/component/browse/browse.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "browse",
"title": "Browse",
- "description": "Inspect the messages received on endpoints supporting
BrowsableEndpoint.",
+ "description": "Keep the messages sent to the endpoint in memory, so that
tests, tools and the developer console can browse them.",
"deprecated": false,
"firstVersion": "1.3.0",
"label": "core,monitoring",
@@ -28,7 +28,7 @@
"bridgeErrorHandler": { "index": 0, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"lazyStartProducer": { "index": 1, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the producer should be started lazy (on the first message). By
starting lazy you can use this to allow CamelContext and routes to startup in
situations where a producer may otherwise fail [...]
"autowiredEnabled": { "index": 2, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
- "browseLimit": { "index": 3, "kind": "property", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "Maximum number of messages to keep in memory
available for browsing. Use 0 for unlimited." }
+ "browseLimit": { "index": 3, "kind": "property", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The maximum number of messages that each
endpoint keeps in memory for browsing, for the endpoints that do not set their
own browseLimit. When a new message goes over the limit, the oldest message is
removed from the list. Use 0 for no [...]
},
"bodyTypes": {
"consumerOut": { "carriers": [ "unchanged" ], "description": "The body the
producer sent: the route runs on the same exchange, in the thread of the
producer" },
@@ -36,12 +36,12 @@
"producerOut": { "carriers": [ "unchanged" ], "description": "Unchanged,
unless a route consumes from the same browse endpoint: it runs on the same
exchange, so the body is the one that route ends with" }
},
"properties": {
- "name": { "index": 0, "kind": "path", "displayName": "Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "A name which can be any string to uniquely identify the
endpoint" },
+ "name": { "index": 0, "kind": "path", "displayName": "Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The name of the endpoint, which can be any string. The routes
that send to and consume from the same endpoint URI share its list of
messages." },
"bridgeErrorHandler": { "index": 1, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"exceptionHandler": { "index": 2, "kind": "parameter", "displayName":
"Exception Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By def [...]
"exchangePattern": { "index": 3, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "enum", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ],
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
"lazyStartProducer": { "index": 4, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produc [...]
- "browseLimit": { "index": 5, "kind": "parameter", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "Maximum number of messages to keep in memory
available for browsing. Use 0 for unlimited." },
- "filter": { "index": 6, "kind": "parameter", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "java.util.function.Predicate<org.apache.camel.Exchange>",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a predicate to filter whether to include the message for browsing. Return
true to include, false to exclude." }
+ "browseLimit": { "index": 5, "kind": "parameter", "displayName": "Browse
Limit", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The maximum number of messages that the
endpoint keeps in memory for browsing. When a new message goes over the limit,
the oldest message is removed from the list. The default is the browseLimit of
the component, and 0 means no limit, [...]
+ "filter": { "index": 6, "kind": "parameter", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "java.util.function.Predicate<org.apache.camel.Exchange>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
predicate that the producer tests on each message: true keeps the message for
browsing, false skips it. A skipped message is also not passed to the route
that consumes from the endpoint. If no [...]
}
}
diff --git a/components/camel-browse/src/main/docs/browse-component.adoc
b/components/camel-browse/src/main/docs/browse-component.adoc
index cb5dee59edc9..981649698cc0 100644
--- a/components/camel-browse/src/main/docs/browse-component.adoc
+++ b/components/camel-browse/src/main/docs/browse-component.adoc
@@ -2,7 +2,7 @@
:doctitle: Browse
:shortname: browse
:artifactid: camel-browse
-:description: Inspect the messages received on endpoints supporting
BrowsableEndpoint.
+:description: Keep the messages sent to the endpoint in memory, so that tests,
tools and the developer console can browse them.
:since: 1.3
:supportlevel: Stable
:tabs-sync-option:
diff --git
a/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseComponent.java
b/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseComponent.java
index 1ef8d344c8b2..232a09afa0a6 100644
---
a/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseComponent.java
+++
b/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseComponent.java
@@ -27,7 +27,9 @@ import org.apache.camel.support.DefaultComponent;
public class BrowseComponent extends DefaultComponent {
@Metadata(label = "advanced",
- description = "Maximum number of messages to keep in memory
available for browsing. Use 0 for unlimited.")
+ description = "The maximum number of messages that each endpoint
keeps in memory for browsing, for the"
+ + " endpoints that do not set their own
browseLimit. When a new message goes over the limit, the"
+ + " oldest message is removed from the list. Use 0
for no limit.")
private int browseLimit;
public BrowseComponent() {
diff --git
a/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseEndpoint.java
b/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseEndpoint.java
index e3383541cbd1..6b1a2483cc04 100644
---
a/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseEndpoint.java
+++
b/components/camel-browse/src/main/java/org/apache/camel/component/browse/BrowseEndpoint.java
@@ -41,10 +41,7 @@ import org.apache.camel.support.DefaultEndpoint;
import org.apache.camel.support.DefaultProducer;
/**
- * Inspect the messages received on endpoints supporting {@link
BrowsableEndpoint}.
- *
- * This can be useful for testing, visualisation tools or debugging. The
exchanges sent to the endpoint are all
- * available to be browsed.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools and
the developer console can browse them.
*/
@UriEndpoint(firstVersion = "1.3.0", scheme = "browse", title = "Browse",
syntax = "browse:name",
remote = false, internal = true, category = { Category.CORE,
Category.MONITORING })
@@ -57,14 +54,20 @@ import org.apache.camel.support.DefaultProducer;
+ " the same exchange, so the
body is the one that route ends with"))
public class BrowseEndpoint extends DefaultEndpoint implements
BrowsableEndpoint {
- @UriPath(description = "A name which can be any string to uniquely
identify the endpoint")
+ @UriPath(description = "The name of the endpoint, which can be any string.
The routes that send to and consume from"
+ + " the same endpoint URI share its list of
messages.")
@Metadata(required = true)
private String name;
@UriParam(label = "advanced",
- description = "Maximum number of messages to keep in memory
available for browsing. Use 0 for unlimited.")
+ description = "The maximum number of messages that the endpoint
keeps in memory for browsing. When a new"
+ + " message goes over the limit, the oldest
message is removed from the list. The default is"
+ + " the browseLimit of the component, and 0 means
no limit, so every message is kept until"
+ + " CamelContext stops.")
private int browseLimit;
@UriParam(label = "advanced",
- description = "To use a predicate to filter whether to include
the message for browsing. Return true to include, false to exclude.")
+ description = "A predicate that the producer tests on each
message: true keeps the message for browsing,"
+ + " false skips it. A skipped message is also not
passed to the route that consumes from the"
+ + " endpoint. If not set, every message is kept.")
private Predicate<Exchange> filter;
private final Lock limitLock = new ReentrantLock();
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 64fe03451eea..c89096b9e79e 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -1049,7 +1049,8 @@ public interface ComponentsBuilderFactory {
}
/**
* Browse (camel-browse)
- * Inspect the messages received on endpoints supporting BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools
+ * and the developer console can browse them.
*
* Category: core,monitoring
* Since: 1.3
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/BrowseComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/BrowseComponentBuilderFactory.java
index 3aa22313e1bc..fa31bc4289ed 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/BrowseComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/BrowseComponentBuilderFactory.java
@@ -24,7 +24,8 @@ import org.apache.camel.builder.component.ComponentBuilder;
import org.apache.camel.component.browse.BrowseComponent;
/**
- * Inspect the messages received on endpoints supporting BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools and
+ * the developer console can browse them.
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -33,7 +34,8 @@ public interface BrowseComponentBuilderFactory {
/**
* Browse (camel-browse)
- * Inspect the messages received on endpoints supporting BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools
+ * and the developer console can browse them.
*
* Category: core,monitoring
* Since: 1.3
@@ -126,8 +128,10 @@ public interface BrowseComponentBuilderFactory {
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that each endpoint keeps in memory
for
+ * browsing, for the endpoints that do not set their own browseLimit.
+ * When a new message goes over the limit, the oldest message is
removed
+ * from the list. Use 0 for no limit.
*
* The option is a: <code>int</code> type.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 0b30e151d385..c0cf489c3fe3 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -3356,7 +3356,8 @@ public class StaticEndpointBuilders {
}
/**
* Browse (camel-browse)
- * Inspect the messages received on endpoints supporting BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools
+ * and the developer console can browse them.
*
* Category: core,monitoring
* Since: 1.3
@@ -3365,7 +3366,8 @@ public class StaticEndpointBuilders {
* Syntax: <code>browse:name</code>
*
* Path parameter: name (required)
- * A name which can be any string to uniquely identify the endpoint
+ * The name of the endpoint, which can be any string. The routes that send
+ * to and consume from the same endpoint URI share its list of messages.
*
* @param path name
* @return the dsl builder
@@ -3375,7 +3377,8 @@ public class StaticEndpointBuilders {
}
/**
* Browse (camel-browse)
- * Inspect the messages received on endpoints supporting BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools
+ * and the developer console can browse them.
*
* Category: core,monitoring
* Since: 1.3
@@ -3384,7 +3387,8 @@ public class StaticEndpointBuilders {
* Syntax: <code>browse:name</code>
*
* Path parameter: name (required)
- * A name which can be any string to uniquely identify the endpoint
+ * The name of the endpoint, which can be any string. The routes that send
+ * to and consume from the same endpoint URI share its list of messages.
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BrowseEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BrowseEndpointBuilderFactory.java
index 1a79cb256a03..982295e6b764 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BrowseEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BrowseEndpointBuilderFactory.java
@@ -27,7 +27,8 @@ import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
/**
- * Inspect the messages received on endpoints supporting BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests, tools and
+ * the developer console can browse them.
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -172,8 +173,11 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that the endpoint keeps in memory for
+ * browsing. When a new message goes over the limit, the oldest message
+ * is removed from the list. The default is the browseLimit of the
+ * component, and 0 means no limit, so every message is kept until
+ * CamelContext stops.
*
* The option is a: <code>int</code> type.
*
@@ -187,8 +191,11 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that the endpoint keeps in memory for
+ * browsing. When a new message goes over the limit, the oldest message
+ * is removed from the list. The default is the browseLimit of the
+ * component, and 0 means no limit, so every message is kept until
+ * CamelContext stops.
*
* The option will be converted to a <code>int</code> type.
*
@@ -202,8 +209,10 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * To use a predicate to filter whether to include the message for
- * browsing. Return true to include, false to exclude.
+ * A predicate that the producer tests on each message: true keeps the
+ * message for browsing, false skips it. A skipped message is also not
+ * passed to the route that consumes from the endpoint. If not set,
+ * every message is kept.
*
* The option is a:
*
<code>java.util.function.Predicate<org.apache.camel.Exchange></code> type.
@@ -218,8 +227,10 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * To use a predicate to filter whether to include the message for
- * browsing. Return true to include, false to exclude.
+ * A predicate that the producer tests on each message: true keeps the
+ * message for browsing, false skips it. A skipped message is also not
+ * passed to the route that consumes from the endpoint. If not set,
+ * every message is kept.
*
* The option will be converted to a
*
<code>java.util.function.Predicate<org.apache.camel.Exchange></code> type.
@@ -302,8 +313,11 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that the endpoint keeps in memory for
+ * browsing. When a new message goes over the limit, the oldest message
+ * is removed from the list. The default is the browseLimit of the
+ * component, and 0 means no limit, so every message is kept until
+ * CamelContext stops.
*
* The option is a: <code>int</code> type.
*
@@ -317,8 +331,11 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that the endpoint keeps in memory for
+ * browsing. When a new message goes over the limit, the oldest message
+ * is removed from the list. The default is the browseLimit of the
+ * component, and 0 means no limit, so every message is kept until
+ * CamelContext stops.
*
* The option will be converted to a <code>int</code> type.
*
@@ -332,8 +349,10 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * To use a predicate to filter whether to include the message for
- * browsing. Return true to include, false to exclude.
+ * A predicate that the producer tests on each message: true keeps the
+ * message for browsing, false skips it. A skipped message is also not
+ * passed to the route that consumes from the endpoint. If not set,
+ * every message is kept.
*
* The option is a:
*
<code>java.util.function.Predicate<org.apache.camel.Exchange></code> type.
@@ -348,8 +367,10 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * To use a predicate to filter whether to include the message for
- * browsing. Return true to include, false to exclude.
+ * A predicate that the producer tests on each message: true keeps the
+ * message for browsing, false skips it. A skipped message is also not
+ * passed to the route that consumes from the endpoint. If not set,
+ * every message is kept.
*
* The option will be converted to a
*
<code>java.util.function.Predicate<org.apache.camel.Exchange></code> type.
@@ -390,8 +411,11 @@ public interface BrowseEndpointBuilderFactory {
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that the endpoint keeps in memory for
+ * browsing. When a new message goes over the limit, the oldest message
+ * is removed from the list. The default is the browseLimit of the
+ * component, and 0 means no limit, so every message is kept until
+ * CamelContext stops.
*
* The option is a: <code>int</code> type.
*
@@ -405,8 +429,11 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * Maximum number of messages to keep in memory available for browsing.
- * Use 0 for unlimited.
+ * The maximum number of messages that the endpoint keeps in memory for
+ * browsing. When a new message goes over the limit, the oldest message
+ * is removed from the list. The default is the browseLimit of the
+ * component, and 0 means no limit, so every message is kept until
+ * CamelContext stops.
*
* The option will be converted to a <code>int</code> type.
*
@@ -420,8 +447,10 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * To use a predicate to filter whether to include the message for
- * browsing. Return true to include, false to exclude.
+ * A predicate that the producer tests on each message: true keeps the
+ * message for browsing, false skips it. A skipped message is also not
+ * passed to the route that consumes from the endpoint. If not set,
+ * every message is kept.
*
* The option is a:
*
<code>java.util.function.Predicate<org.apache.camel.Exchange></code> type.
@@ -436,8 +465,10 @@ public interface BrowseEndpointBuilderFactory {
return this;
}
/**
- * To use a predicate to filter whether to include the message for
- * browsing. Return true to include, false to exclude.
+ * A predicate that the producer tests on each message: true keeps the
+ * message for browsing, false skips it. A skipped message is also not
+ * passed to the route that consumes from the endpoint. If not set,
+ * every message is kept.
*
* The option will be converted to a
*
<code>java.util.function.Predicate<org.apache.camel.Exchange></code> type.
@@ -456,8 +487,8 @@ public interface BrowseEndpointBuilderFactory {
public interface BrowseBuilders {
/**
* Browse (camel-browse)
- * Inspect the messages received on endpoints supporting
- * BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests,
+ * tools and the developer console can browse them.
*
* Category: core,monitoring
* Since: 1.3
@@ -466,7 +497,9 @@ public interface BrowseEndpointBuilderFactory {
* Syntax: <code>browse:name</code>
*
* Path parameter: name (required)
- * A name which can be any string to uniquely identify the endpoint
+ * The name of the endpoint, which can be any string. The routes that
+ * send to and consume from the same endpoint URI share its list of
+ * messages.
*
* @param path name
* @return the dsl builder
@@ -476,8 +509,8 @@ public interface BrowseEndpointBuilderFactory {
}
/**
* Browse (camel-browse)
- * Inspect the messages received on endpoints supporting
- * BrowsableEndpoint.
+ * Keep the messages sent to the endpoint in memory, so that tests,
+ * tools and the developer console can browse them.
*
* Category: core,monitoring
* Since: 1.3
@@ -486,7 +519,9 @@ public interface BrowseEndpointBuilderFactory {
* Syntax: <code>browse:name</code>
*
* Path parameter: name (required)
- * A name which can be any string to uniquely identify the endpoint
+ * The name of the endpoint, which can be any string. The routes that
+ * send to and consume from the same endpoint URI share its list of
+ * messages.
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
diff --git a/tasks/component-descriptions.md b/tasks/component-descriptions.md
index cea61c9f4844..fcd8a38e1e4f 100644
--- a/tasks/component-descriptions.md
+++ b/tasks/component-descriptions.md
@@ -124,7 +124,7 @@ or removes its row.
| camel-bonita | bonita | |
| camel-box | box | |
| camel-braintree | braintree | |
-| camel-browse | browse | |
+| camel-browse | browse | yes |
| camel-caffeine | caffeine-cache, caffeine-loadcache | |
| camel-camunda | camunda | |
| camel-cassandraql | cql | |