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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 2c35d5612c4 CAMEL-23832: camel-slack-starter - regen for the
webhookUrl description (#2133)
2c35d5612c4 is described below
commit 2c35d5612c4f3f270e211c050e90db29bca48f6d
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 28 21:42:53 2026 +0100
CAMEL-23832: camel-slack-starter - regen for the webhookUrl description
(#2133)
Aligns the starter with apache/camel#31083, which avoids an ellipsis after
the URL so the website renders the description without a broken entity.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../org/apache/camel/springboot/catalog/components/slack.json | 4 ++--
components-starter/camel-slack-starter/src/main/docs/slack.json | 2 +-
.../component/slack/springboot/SlackComponentConfiguration.java | 8 ++++----
docs/spring-boot/modules/ROOT/pages/starters/slack.adoc | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
index ab6b162f409..d078a9664db 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
@@ -30,7 +30,7 @@
"healthCheckConsumerEnabled": { "index": 3, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
"healthCheckProducerEnabled": { "index": 4, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on producer [...]
"token": { "index": 5, "kind": "property", "displayName": "Token",
"group": "security", "label": "token,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "description": "The OAuth token of a Slack app, a bot
token (xoxb-) or a user token (xoxp-), that endpoints use unless they set their
own token. The producer needs the chat:write scope, the consumer the history
and read scopes of its conversationT [...]
- "webhookUrl": { "index": 6, "kind": "property", "displayName": "Webhook
Url", "group": "security", "label": "webhook,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "description": "The URL of a Slack incoming
webhook, such as https:\/\/hooks.slack.com\/services\/..., that the producers
post the message to as JSON. Endpoints use it unless they set their own
webhookUrl, and only when no token is set." }
+ "webhookUrl": { "index": 6, "kind": "property", "displayName": "Webhook
Url", "group": "security", "label": "webhook,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "description": "The URL of a Slack incoming
webhook that the producers post the message to as JSON. It starts with
https:\/\/hooks.slack.com\/services\/. Endpoints use it unless they set their
own webhookUrl, and only when no token is [...]
},
"bodyTypes": {
"consumerOut": { "carriers": [ "pojo" ], "javaType":
"com.slack.api.model.Message", "description": "One message per new message of
the conversation, the most recent first, or the oldest first with naturalOrder;
the first poll gives the last message of the history. The text is ${body.text}"
},
@@ -68,7 +68,7 @@
"startScheduler": { "index": 27, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
"timeUnit": { "index": 28, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "enum", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
"useFixedDelay": { "index": 29, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
- "webhookUrl": { "index": 30, "kind": "parameter", "displayName": "Webhook
Url", "group": "security", "label": "producer,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "description": "The
URL of a Slack incoming webhook, such as
https:\/\/hooks.slack.com\/services\/..., that the producer posts the message
to as JSON. It is used only when no token is set. The consumer does no [...]
+ "webhookUrl": { "index": 30, "kind": "parameter", "displayName": "Webhook
Url", "group": "security", "label": "producer,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "description": "The
URL of a Slack incoming webhook that the producer posts the message to as JSON.
It starts with https:\/\/hooks.slack.com\/services\/. It is used only when no
token is set. The consumer does [...]
},
"dstWorlds": {
"SlackWorld": { "javaType":
"org.apache.camel.component.slack.dst.SlackWorld", "fake": "a fake Slack Web
API (conversations.history) returned by a mocked Slack.getInstance", "covers":
[ "the polling consumer with maxResults and naturalOrder", "the pages of
conversations.history (oldest and cursor)", "route suspend and resume while a
batch is routed" ], "faults": [ "the first page of conversations.history
answers ratelimited", "conversations.history answers slowly", "the route is
susp [...]
diff --git a/components-starter/camel-slack-starter/src/main/docs/slack.json
b/components-starter/camel-slack-starter/src/main/docs/slack.json
index 365fef90f0d..5796b95e3ad 100644
--- a/components-starter/camel-slack-starter/src/main/docs/slack.json
+++ b/components-starter/camel-slack-starter/src/main/docs/slack.json
@@ -68,7 +68,7 @@
{
"name": "camel.component.slack.webhook-url",
"type": "java.lang.String",
- "description": "The URL of a Slack incoming webhook, such as
https:\/\/hooks.slack.com\/services\/..., that the producers post the message
to as JSON. Endpoints use it unless they set their own webhookUrl, and only
when no token is set.",
+ "description": "The URL of a Slack incoming webhook that the producers
post the message to as JSON. It starts with
https:\/\/hooks.slack.com\/services\/. Endpoints use it unless they set their
own webhookUrl, and only when no token is set.",
"sourceType":
"org.apache.camel.component.slack.springboot.SlackComponentConfiguration"
}
],
diff --git
a/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
b/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
index 7217d5ee0d0..022975878e2 100644
---
a/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
+++
b/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
@@ -89,10 +89,10 @@ public class SlackComponentConfiguration
*/
private String token;
/**
- * The URL of a Slack incoming webhook, such as
- * https://hooks.slack.com/services/..., that the producers post the
message
- * to as JSON. Endpoints use it unless they set their own webhookUrl, and
- * only when no token is set.
+ * The URL of a Slack incoming webhook that the producers post the message
+ * to as JSON. It starts with https://hooks.slack.com/services/. Endpoints
+ * use it unless they set their own webhookUrl, and only when no token is
+ * set.
*/
private String webhookUrl;
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/slack.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/slack.adoc
index 13c2db34b7e..46bf192215b 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/slack.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/slack.adoc
@@ -35,5 +35,5 @@ The starter supports 8 options, which are listed below.
| camel.component.slack.health-check-producer-enabled | Used for enabling or
disabling all producer based health checks from this component. Notice: Camel
has by default disabled all producer based health-checks. You can turn on
producer checks globally by setting camel.health.producersEnabled=true. | true
| Boolean
| camel.component.slack.lazy-start-producer | 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 during starting and cause the route to fail being started. By deferring
this startup to be lazy then the startup failure can be handled during routing
messages via Camel's routing error handlers. Beware that when the first message
is processed then c [...]
| camel.component.slack.token | The OAuth token of a Slack app, a bot token
(xoxb-) or a user token (xoxp-), that endpoints use unless they set their own
token. The producer needs the chat:write scope, the consumer the history and
read scopes of its conversationType, such as channels:history and
channels:read. | | String
-| camel.component.slack.webhook-url | The URL of a Slack incoming webhook,
such as https://hooks.slack.com/services/..., that the producers post the
message to as JSON. Endpoints use it unless they set their own webhookUrl, and
only when no token is set. | | String
+| camel.component.slack.webhook-url | The URL of a Slack incoming webhook that
the producers post the message to as JSON. It starts with
https://hooks.slack.com/services/. Endpoints use it unless they set their own
webhookUrl, and only when no token is set. | | String
|===