This is an automated email from the ASF dual-hosted git repository.
acosentino 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 3a6510c Regen for commit f7e92a0da9c394dc248791e2c5ecfac8d97b0b15
3a6510c is described below
commit 3a6510c7e18b129253d3cb7783a763154c4a0a7f
Author: davsclaus <[email protected]>
AuthorDate: Sat Feb 26 08:46:29 2022 +0000
Regen for commit f7e92a0da9c394dc248791e2c5ecfac8d97b0b15
Signed-off-by: GitHub <[email protected]>
---
.../camel/catalog/components/azure-servicebus.json | 20 +-
.../org/apache/camel/catalog/others.properties | 1 +
.../org/apache/camel/catalog/others/console.json | 15 ++
.../java/org/apache/camel/util/SensitiveUtils.java | 1 +
.../AzureServicebusComponentBuilderFactory.java | 73 +++---
.../dsl/ServiceBusEndpointBuilderFactory.java | 276 ++++++++++-----------
6 files changed, 200 insertions(+), 186 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
index b6773a3..f36b10e 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
@@ -26,16 +26,14 @@
"amqpTransportType": { "kind": "property", "displayName": "Amqp Transport
Type", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "com.azure.core.amqp.AmqpTransportType", "enum": [
"Amqp", "AmqpWebSockets" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "AMQP", "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the tr [...]
"clientOptions": { "kind": "property", "displayName": "Client Options",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "com.azure.core.util.ClientOptions", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the ClientOptions
to be sent from the client built from this builder, enabling cu [...]
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "common", "label": "", "required": false, "type": "object",
"javaType":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
component configurations" },
- "fullyQualifiedNamespace": { "kind": "property", "displayName": "Fully
Qualified Namespace", "group": "common", "label": "common", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Fully Qualified
Namespace of the service bus" },
"proxyOptions": { "kind": "property", "displayName": "Proxy Options",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "com.azure.core.amqp.ProxyOptions", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the proxy
configuration to use for ServiceBusSenderAsyncClient. When a proxy is conf [...]
"serviceBusType": { "kind": "property", "displayName": "Service Bus Type",
"group": "common", "label": "common", "required": true, "type": "object",
"javaType": "org.apache.camel.component.azure.servicebus.ServiceBusType",
"enum": [ "queue", "topic" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": "queue",
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration [...]
- "tokenCredential": { "kind": "property", "displayName": "Token
Credential", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "com.azure.core.credential.TokenCredential",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "A TokenCredential for
Azure AD authentication, implemented in com.azure.id [...]
"bridgeErrorHandler": { "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 occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
"consumerOperation": { "kind": "property", "displayName": "Consumer
Operation", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType":
"org.apache.camel.component.azure.servicebus.ServiceBusConsumerOperationDefinition",
"enum": [ "receiveMessages", "peekMessages" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "receiveMessages",
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", [...]
"disableAutoComplete": { "kind": "property", "displayName": "Disable Auto
Complete", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Disables auto-complete
and auto-abandon of received messages. By defaul [...]
- "maxAutoLockRenewDuration": { "kind": "property", "displayName": "Max Auto
Lock Renew Duration", "group": "consumer", "label": "consumer", "required":
false, "type": "object", "javaType": "java.time.Duration", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "5min",
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the amount of time
to continue auto-renewin [...]
+ "maxAutoLockRenewDuration": { "kind": "property", "displayName": "Max Auto
Lock Renew Duration", "group": "consumer", "label": "consumer", "required":
false, "type": "object", "javaType": "java.time.Duration", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "5m",
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the amount of time
to continue auto-renewing [...]
"peekNumMaxMessages": { "kind": "property", "displayName": "Peek Num Max
Messages", "group": "consumer", "label": "consumer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Set the max number of
messages to be peeked during the peek operation." },
- "prefetchCount": { "kind": "property", "displayName": "Prefetch Count",
"group": "consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 0, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the prefetch count
of the receiver. For both {link ServiceBusReceiveMode#PEEK_LOCK PEEK [...]
+ "prefetchCount": { "kind": "property", "displayName": "Prefetch Count",
"group": "consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the prefetch count
of the receiver. For both {link ServiceBusReceiveMode#PEEK_LOCK PEEK_LOCK} and
{link Se [...]
"receiverAsyncClient": { "kind": "property", "displayName": "Receiver
Async Client", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType":
"com.azure.messaging.servicebus.ServiceBusReceiverAsyncClient", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the receiverAsy
[...]
"serviceBusReceiveMode": { "kind": "property", "displayName": "Service Bus
Receive Mode", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType":
"com.azure.messaging.servicebus.models.ServiceBusReceiveMode", "enum": [
"PEEK_LOCK", "RECEIVE_AND_DELETE" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "PEEK_LOCK", "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationFie [...]
"subQueue": { "kind": "property", "displayName": "Sub Queue", "group":
"consumer", "label": "consumer", "required": false, "type": "object",
"javaType": "com.azure.messaging.servicebus.models.SubQueue", "enum": [ "NONE",
"DEAD_LETTER_QUEUE", "TRANSFER_DEAD_LETTER_QUEUE" ], "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the [...]
@@ -46,23 +44,23 @@
"senderAsyncClient": { "kind": "property", "displayName": "Sender Async
Client", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType":
"com.azure.messaging.servicebus.ServiceBusSenderAsyncClient", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets SenderAsyncClient
to [...]
"serviceBusTransactionContext": { "kind": "property", "displayName":
"Service Bus Transaction Context", "group": "producer", "label": "producer",
"required": false, "type": "object", "javaType":
"com.azure.messaging.servicebus.ServiceBusTransactionContext", "deprecated":
false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Represents transaction i
[...]
"autowiredEnabled": { "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 type, which t [...]
- "connectionString": { "kind": "property", "displayName": "Connection
String", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the connection
string for a Service Bus namespace or a specific Service Bus resource." }
+ "connectionString": { "kind": "property", "displayName": "Connection
String", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the connection
string for a Service Bus namespace or a specific Service Bus resource." },
+ "fullyQualifiedNamespace": { "kind": "property", "displayName": "Fully
Qualified Namespace", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Fully Qualified
Namespace of the service bus" },
+ "tokenCredential": { "kind": "property", "displayName": "Token
Credential", "group": "security", "label": "security", "required": false,
"type": "object", "javaType": "com.azure.core.credential.TokenCredential",
"deprecated": false, "autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "A TokenCredential for
Azure AD authentication, implemented in com.azure [...]
},
"properties": {
"topicOrQueueName": { "kind": "path", "displayName": "Topic Or Queue
Name", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Selected topic name or
the queue name, that is depending on serviceBusType config. For example if
service [...]
"amqpRetryOptions": { "kind": "parameter", "displayName": "Amqp Retry
Options", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "com.azure.core.amqp.AmqpRetryOptions", "deprecated":
false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the retry options
for Service Bus clients. If not specified, the defau [...]
"amqpTransportType": { "kind": "parameter", "displayName": "Amqp Transport
Type", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "com.azure.core.amqp.AmqpTransportType", "enum": [
"Amqp", "AmqpWebSockets" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "AMQP", "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the t [...]
"clientOptions": { "kind": "parameter", "displayName": "Client Options",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "com.azure.core.util.ClientOptions", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the ClientOptions
to be sent from the client built from this builder, enabling c [...]
- "fullyQualifiedNamespace": { "kind": "parameter", "displayName": "Fully
Qualified Namespace", "group": "common", "label": "common", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Fully Qualified
Namespace of the service bus" },
"proxyOptions": { "kind": "parameter", "displayName": "Proxy Options",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "com.azure.core.amqp.ProxyOptions", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the proxy
configuration to use for ServiceBusSenderAsyncClient. When a proxy is con [...]
"serviceBusType": { "kind": "parameter", "displayName": "Service Bus
Type", "group": "common", "label": "common", "required": true, "type":
"object", "javaType":
"org.apache.camel.component.azure.servicebus.ServiceBusType", "enum": [
"queue", "topic" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "queue", "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuratio [...]
- "tokenCredential": { "kind": "parameter", "displayName": "Token
Credential", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "com.azure.core.credential.TokenCredential",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "A TokenCredential for
Azure AD authentication, implemented in com.azure.i [...]
"bridgeErrorHandler": { "kind": "parameter", "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 occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a m [...]
"consumerOperation": { "kind": "parameter", "displayName": "Consumer
Operation", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType":
"org.apache.camel.component.azure.servicebus.ServiceBusConsumerOperationDefinition",
"enum": [ "receiveMessages", "peekMessages" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "receiveMessages",
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration" [...]
"disableAutoComplete": { "kind": "parameter", "displayName": "Disable Auto
Complete", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Disables auto-complete
and auto-abandon of received messages. By defau [...]
- "maxAutoLockRenewDuration": { "kind": "parameter", "displayName": "Max
Auto Lock Renew Duration", "group": "consumer", "label": "consumer",
"required": false, "type": "object", "javaType": "java.time.Duration",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"5min", "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the amount of time
to continue auto-renewi [...]
+ "maxAutoLockRenewDuration": { "kind": "parameter", "displayName": "Max
Auto Lock Renew Duration", "group": "consumer", "label": "consumer",
"required": false, "type": "object", "javaType": "java.time.Duration",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": "5m",
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the amount of time
to continue auto-renewing [...]
"peekNumMaxMessages": { "kind": "parameter", "displayName": "Peek Num Max
Messages", "group": "consumer", "label": "consumer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Set the max number of
messages to be peeked during the peek operation." },
- "prefetchCount": { "kind": "parameter", "displayName": "Prefetch Count",
"group": "consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 0, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the prefetch count
of the receiver. For both {link ServiceBusReceiveMode#PEEK_LOCK PEE [...]
+ "prefetchCount": { "kind": "parameter", "displayName": "Prefetch Count",
"group": "consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the prefetch count
of the receiver. For both {link ServiceBusReceiveMode#PEEK_LOCK PEEK_LOCK} and
{link S [...]
"receiverAsyncClient": { "kind": "parameter", "displayName": "Receiver
Async Client", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType":
"com.azure.messaging.servicebus.ServiceBusReceiverAsyncClient", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the receiverAs [...]
"serviceBusReceiveMode": { "kind": "parameter", "displayName": "Service
Bus Receive Mode", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType":
"com.azure.messaging.servicebus.models.ServiceBusReceiveMode", "enum": [
"PEEK_LOCK", "RECEIVE_AND_DELETE" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "PEEK_LOCK", "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationFi [...]
"subQueue": { "kind": "parameter", "displayName": "Sub Queue", "group":
"consumer", "label": "consumer", "required": false, "type": "object",
"javaType": "com.azure.messaging.servicebus.models.SubQueue", "enum": [ "NONE",
"DEAD_LETTER_QUEUE", "TRANSFER_DEAD_LETTER_QUEUE" ], "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets th [...]
@@ -74,6 +72,8 @@
"scheduledEnqueueTime": { "kind": "parameter", "displayName": "Scheduled
Enqueue Time", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "java.time.OffsetDateTime", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets OffsetDateTime at
which the message should appear in the Service Bus q [...]
"senderAsyncClient": { "kind": "parameter", "displayName": "Sender Async
Client", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType":
"com.azure.messaging.servicebus.ServiceBusSenderAsyncClient", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets SenderAsyncClient
to [...]
"serviceBusTransactionContext": { "kind": "parameter", "displayName":
"Service Bus Transaction Context", "group": "producer", "label": "producer",
"required": false, "type": "object", "javaType":
"com.azure.messaging.servicebus.ServiceBusTransactionContext", "deprecated":
false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Represents transaction
[...]
- "connectionString": { "kind": "parameter", "displayName": "Connection
String", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the connection
string for a Service Bus namespace or a specific Service Bus resource." }
+ "connectionString": { "kind": "parameter", "displayName": "Connection
String", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Sets the connection
string for a Service Bus namespace or a specific Service Bus resource." },
+ "fullyQualifiedNamespace": { "kind": "parameter", "displayName": "Fully
Qualified Namespace", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "Fully Qualified
Namespace of the service bus" },
+ "tokenCredential": { "kind": "parameter", "displayName": "Token
Credential", "group": "security", "label": "security", "required": false,
"type": "object", "javaType": "com.azure.core.credential.TokenCredential",
"deprecated": false, "autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.servicebus.ServiceBusConfiguration",
"configurationField": "configuration", "description": "A TokenCredential for
Azure AD authentication, implemented in com.azur [...]
}
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
index 2ecc8b0..5f99325 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
@@ -8,6 +8,7 @@ cloud
cloudevents
cluster
componentdsl
+console
csimple-joor
cxf-transport
debug
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/console.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/console.json
new file mode 100644
index 0000000..b1048bd
--- /dev/null
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/console.json
@@ -0,0 +1,15 @@
+{
+ "other": {
+ "kind": "other",
+ "name": "console",
+ "title": "Console",
+ "description": "Camel Developer Console",
+ "deprecated": false,
+ "firstVersion": "3.15.0",
+ "label": "core",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-console",
+ "version": "3.16.0-SNAPSHOT"
+ }
+}
diff --git
a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
index c20516e..a1a7a44 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
@@ -90,6 +90,7 @@ public final class SensitiveUtils {
"subscribekey",
"systemid",
"token",
+ "tokencredential",
"user",
"userauthenticationcredentials",
"username",
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
index 9059c98..fb72f33 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java
@@ -121,21 +121,6 @@ public interface AzureServicebusComponentBuilderFactory {
return this;
}
/**
- * Fully Qualified Namespace of the service bus.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fullyQualifiedNamespace the value to set
- * @return the dsl builder
- */
- default AzureServicebusComponentBuilder fullyQualifiedNamespace(
- java.lang.String fullyQualifiedNamespace) {
- doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
- return this;
- }
- /**
* Sets the proxy configuration to use for ServiceBusSenderAsyncClient.
* When a proxy is configured, AmqpTransportType#AMQP_WEB_SOCKETS must
* be used for the transport type.
@@ -172,24 +157,6 @@ public interface AzureServicebusComponentBuilderFactory {
return this;
}
/**
- * A TokenCredential for Azure AD authentication, implemented in
- * com.azure.identity.
- *
- * The option is a:
- * <code>com.azure.core.credential.TokenCredential</code>
- * type.
- *
- * Group: common
- *
- * @param tokenCredential the value to set
- * @return the dsl builder
- */
- default AzureServicebusComponentBuilder tokenCredential(
- com.azure.core.credential.TokenCredential tokenCredential) {
- doSetProperty("tokenCredential", tokenCredential);
- return this;
- }
- /**
* Allows for bridging the consumer to the Camel routing Error Handler,
* which mean any exceptions occurred while the consumer is trying to
* pickup incoming messages, or the likes, will now be processed as a
@@ -258,7 +225,7 @@ public interface AzureServicebusComponentBuilderFactory {
*
* The option is a: <code>java.time.Duration</code> type.
*
- * Default: 5min
+ * Default: 5m
* Group: consumer
*
* @param maxAutoLockRenewDuration the value to set
@@ -298,7 +265,6 @@ public interface AzureServicebusComponentBuilderFactory {
*
* The option is a: <code>int</code> type.
*
- * Default: 0
* Group: consumer
*
* @param prefetchCount the value to set
@@ -502,6 +468,39 @@ public interface AzureServicebusComponentBuilderFactory {
doSetProperty("connectionString", connectionString);
return this;
}
+ /**
+ * Fully Qualified Namespace of the service bus.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param fullyQualifiedNamespace the value to set
+ * @return the dsl builder
+ */
+ default AzureServicebusComponentBuilder fullyQualifiedNamespace(
+ java.lang.String fullyQualifiedNamespace) {
+ doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
+ return this;
+ }
+ /**
+ * A TokenCredential for Azure AD authentication, implemented in
+ * com.azure.identity.
+ *
+ * The option is a:
+ * <code>com.azure.core.credential.TokenCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param tokenCredential the value to set
+ * @return the dsl builder
+ */
+ default AzureServicebusComponentBuilder tokenCredential(
+ com.azure.core.credential.TokenCredential tokenCredential) {
+ doSetProperty("tokenCredential", tokenCredential);
+ return this;
+ }
}
class AzureServicebusComponentBuilderImpl
@@ -530,10 +529,8 @@ public interface AzureServicebusComponentBuilderFactory {
case "amqpTransportType":
getOrCreateConfiguration((ServiceBusComponent)
component).setAmqpTransportType((com.azure.core.amqp.AmqpTransportType) value);
return true;
case "clientOptions":
getOrCreateConfiguration((ServiceBusComponent)
component).setClientOptions((com.azure.core.util.ClientOptions) value); return
true;
case "configuration": ((ServiceBusComponent)
component).setConfiguration((org.apache.camel.component.azure.servicebus.ServiceBusConfiguration)
value); return true;
- case "fullyQualifiedNamespace":
getOrCreateConfiguration((ServiceBusComponent)
component).setFullyQualifiedNamespace((java.lang.String) value); return true;
case "proxyOptions":
getOrCreateConfiguration((ServiceBusComponent)
component).setProxyOptions((com.azure.core.amqp.ProxyOptions) value); return
true;
case "serviceBusType":
getOrCreateConfiguration((ServiceBusComponent)
component).setServiceBusType((org.apache.camel.component.azure.servicebus.ServiceBusType)
value); return true;
- case "tokenCredential":
getOrCreateConfiguration((ServiceBusComponent)
component).setTokenCredential((com.azure.core.credential.TokenCredential)
value); return true;
case "bridgeErrorHandler": ((ServiceBusComponent)
component).setBridgeErrorHandler((boolean) value); return true;
case "consumerOperation":
getOrCreateConfiguration((ServiceBusComponent)
component).setConsumerOperation((org.apache.camel.component.azure.servicebus.ServiceBusConsumerOperationDefinition)
value); return true;
case "disableAutoComplete":
getOrCreateConfiguration((ServiceBusComponent)
component).setDisableAutoComplete((boolean) value); return true;
@@ -551,6 +548,8 @@ public interface AzureServicebusComponentBuilderFactory {
case "serviceBusTransactionContext":
getOrCreateConfiguration((ServiceBusComponent)
component).setServiceBusTransactionContext((com.azure.messaging.servicebus.ServiceBusTransactionContext)
value); return true;
case "autowiredEnabled": ((ServiceBusComponent)
component).setAutowiredEnabled((boolean) value); return true;
case "connectionString":
getOrCreateConfiguration((ServiceBusComponent)
component).setConnectionString((java.lang.String) value); return true;
+ case "fullyQualifiedNamespace":
getOrCreateConfiguration((ServiceBusComponent)
component).setFullyQualifiedNamespace((java.lang.String) value); return true;
+ case "tokenCredential":
getOrCreateConfiguration((ServiceBusComponent)
component).setTokenCredential((com.azure.core.credential.TokenCredential)
value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
index 25bb1a1..6fd7564 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java
@@ -152,21 +152,6 @@ public interface ServiceBusEndpointBuilderFactory {
return this;
}
/**
- * Fully Qualified Namespace of the service bus.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fullyQualifiedNamespace the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointConsumerBuilder fullyQualifiedNamespace(
- String fullyQualifiedNamespace) {
- doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
- return this;
- }
- /**
* Sets the proxy configuration to use for ServiceBusSenderAsyncClient.
* When a proxy is configured, AmqpTransportType#AMQP_WEB_SOCKETS must
* be used for the transport type.
@@ -241,42 +226,6 @@ public interface ServiceBusEndpointBuilderFactory {
return this;
}
/**
- * A TokenCredential for Azure AD authentication, implemented in
- * com.azure.identity.
- *
- * The option is a:
- * <code>com.azure.core.credential.TokenCredential</code>
- * type.
- *
- * Group: common
- *
- * @param tokenCredential the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointConsumerBuilder tokenCredential(
- com.azure.core.credential.TokenCredential tokenCredential) {
- doSetProperty("tokenCredential", tokenCredential);
- return this;
- }
- /**
- * A TokenCredential for Azure AD authentication, implemented in
- * com.azure.identity.
- *
- * The option will be converted to a
- * <code>com.azure.core.credential.TokenCredential</code>
- * type.
- *
- * Group: common
- *
- * @param tokenCredential the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointConsumerBuilder tokenCredential(
- String tokenCredential) {
- doSetProperty("tokenCredential", tokenCredential);
- return this;
- }
- /**
* Allows for bridging the consumer to the Camel routing Error Handler,
* which mean any exceptions occurred while the consumer is trying to
* pickup incoming messages, or the likes, will now be processed as a
@@ -408,7 +357,7 @@ public interface ServiceBusEndpointBuilderFactory {
*
* The option is a: <code>java.time.Duration</code> type.
*
- * Default: 5min
+ * Default: 5m
* Group: consumer
*
* @param maxAutoLockRenewDuration the value to set
@@ -428,7 +377,7 @@ public interface ServiceBusEndpointBuilderFactory {
* The option will be converted to a
* <code>java.time.Duration</code> type.
*
- * Default: 5min
+ * Default: 5m
* Group: consumer
*
* @param maxAutoLockRenewDuration the value to set
@@ -485,7 +434,6 @@ public interface ServiceBusEndpointBuilderFactory {
*
* The option is a: <code>int</code> type.
*
- * Default: 0
* Group: consumer
*
* @param prefetchCount the value to set
@@ -509,7 +457,6 @@ public interface ServiceBusEndpointBuilderFactory {
*
* The option will be converted to a <code>int</code> type.
*
- * Default: 0
* Group: consumer
*
* @param prefetchCount the value to set
@@ -651,6 +598,57 @@ public interface ServiceBusEndpointBuilderFactory {
doSetProperty("connectionString", connectionString);
return this;
}
+ /**
+ * Fully Qualified Namespace of the service bus.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param fullyQualifiedNamespace the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointConsumerBuilder fullyQualifiedNamespace(
+ String fullyQualifiedNamespace) {
+ doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
+ return this;
+ }
+ /**
+ * A TokenCredential for Azure AD authentication, implemented in
+ * com.azure.identity.
+ *
+ * The option is a:
+ * <code>com.azure.core.credential.TokenCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param tokenCredential the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointConsumerBuilder tokenCredential(
+ com.azure.core.credential.TokenCredential tokenCredential) {
+ doSetProperty("tokenCredential", tokenCredential);
+ return this;
+ }
+ /**
+ * A TokenCredential for Azure AD authentication, implemented in
+ * com.azure.identity.
+ *
+ * The option will be converted to a
+ * <code>com.azure.core.credential.TokenCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param tokenCredential the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointConsumerBuilder tokenCredential(
+ String tokenCredential) {
+ doSetProperty("tokenCredential", tokenCredential);
+ return this;
+ }
}
/**
@@ -853,21 +851,6 @@ public interface ServiceBusEndpointBuilderFactory {
return this;
}
/**
- * Fully Qualified Namespace of the service bus.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fullyQualifiedNamespace the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointProducerBuilder fullyQualifiedNamespace(
- String fullyQualifiedNamespace) {
- doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
- return this;
- }
- /**
* Sets the proxy configuration to use for ServiceBusSenderAsyncClient.
* When a proxy is configured, AmqpTransportType#AMQP_WEB_SOCKETS must
* be used for the transport type.
@@ -942,42 +925,6 @@ public interface ServiceBusEndpointBuilderFactory {
return this;
}
/**
- * A TokenCredential for Azure AD authentication, implemented in
- * com.azure.identity.
- *
- * The option is a:
- * <code>com.azure.core.credential.TokenCredential</code>
- * type.
- *
- * Group: common
- *
- * @param tokenCredential the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointProducerBuilder tokenCredential(
- com.azure.core.credential.TokenCredential tokenCredential) {
- doSetProperty("tokenCredential", tokenCredential);
- return this;
- }
- /**
- * A TokenCredential for Azure AD authentication, implemented in
- * com.azure.identity.
- *
- * The option will be converted to a
- * <code>com.azure.core.credential.TokenCredential</code>
- * type.
- *
- * Group: common
- *
- * @param tokenCredential the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointProducerBuilder tokenCredential(
- String tokenCredential) {
- doSetProperty("tokenCredential", tokenCredential);
- return this;
- }
- /**
* 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
@@ -1176,6 +1123,57 @@ public interface ServiceBusEndpointBuilderFactory {
doSetProperty("connectionString", connectionString);
return this;
}
+ /**
+ * Fully Qualified Namespace of the service bus.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param fullyQualifiedNamespace the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointProducerBuilder fullyQualifiedNamespace(
+ String fullyQualifiedNamespace) {
+ doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
+ return this;
+ }
+ /**
+ * A TokenCredential for Azure AD authentication, implemented in
+ * com.azure.identity.
+ *
+ * The option is a:
+ * <code>com.azure.core.credential.TokenCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param tokenCredential the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointProducerBuilder tokenCredential(
+ com.azure.core.credential.TokenCredential tokenCredential) {
+ doSetProperty("tokenCredential", tokenCredential);
+ return this;
+ }
+ /**
+ * A TokenCredential for Azure AD authentication, implemented in
+ * com.azure.identity.
+ *
+ * The option will be converted to a
+ * <code>com.azure.core.credential.TokenCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param tokenCredential the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointProducerBuilder tokenCredential(
+ String tokenCredential) {
+ doSetProperty("tokenCredential", tokenCredential);
+ return this;
+ }
}
/**
@@ -1308,21 +1306,6 @@ public interface ServiceBusEndpointBuilderFactory {
return this;
}
/**
- * Fully Qualified Namespace of the service bus.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fullyQualifiedNamespace the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointBuilder fullyQualifiedNamespace(
- String fullyQualifiedNamespace) {
- doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
- return this;
- }
- /**
* Sets the proxy configuration to use for ServiceBusSenderAsyncClient.
* When a proxy is configured, AmqpTransportType#AMQP_WEB_SOCKETS must
* be used for the transport type.
@@ -1395,6 +1378,37 @@ public interface ServiceBusEndpointBuilderFactory {
return this;
}
/**
+ * Sets the connection string for a Service Bus namespace or a specific
+ * Service Bus resource.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param connectionString the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointBuilder connectionString(
+ String connectionString) {
+ doSetProperty("connectionString", connectionString);
+ return this;
+ }
+ /**
+ * Fully Qualified Namespace of the service bus.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param fullyQualifiedNamespace the value to set
+ * @return the dsl builder
+ */
+ default ServiceBusEndpointBuilder fullyQualifiedNamespace(
+ String fullyQualifiedNamespace) {
+ doSetProperty("fullyQualifiedNamespace", fullyQualifiedNamespace);
+ return this;
+ }
+ /**
* A TokenCredential for Azure AD authentication, implemented in
* com.azure.identity.
*
@@ -1402,7 +1416,7 @@ public interface ServiceBusEndpointBuilderFactory {
* <code>com.azure.core.credential.TokenCredential</code>
* type.
*
- * Group: common
+ * Group: security
*
* @param tokenCredential the value to set
* @return the dsl builder
@@ -1420,7 +1434,7 @@ public interface ServiceBusEndpointBuilderFactory {
* <code>com.azure.core.credential.TokenCredential</code>
* type.
*
- * Group: common
+ * Group: security
*
* @param tokenCredential the value to set
* @return the dsl builder
@@ -1429,22 +1443,6 @@ public interface ServiceBusEndpointBuilderFactory {
doSetProperty("tokenCredential", tokenCredential);
return this;
}
- /**
- * Sets the connection string for a Service Bus namespace or a specific
- * Service Bus resource.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param connectionString the value to set
- * @return the dsl builder
- */
- default ServiceBusEndpointBuilder connectionString(
- String connectionString) {
- doSetProperty("connectionString", connectionString);
- return this;
- }
}
/**