This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.18.x by this push:
new 32e6eea2d0a2 CAMEL-23081: camel-milo - Allow overriding the server
reported endpoint port (#21608)
32e6eea2d0a2 is described below
commit 32e6eea2d0a2cd98888fb4365c1723e9a0e88e0f
Author: reimer-atb <[email protected]>
AuthorDate: Thu Feb 26 14:42:09 2026 +0100
CAMEL-23081: camel-milo - Allow overriding the server reported endpoint
port (#21608)
This change adds the ability to override the server reported port with
the originally provided port when connecting to the server.
Signed-off-by: reimer-atb <[email protected]>
---
.../camel/catalog/components/milo-browse.json | 22 ++---
.../camel/catalog/components/milo-client.json | 22 ++---
.../milo/browse/MiloBrowseComponentConfigurer.java | 6 ++
.../milo/browse/MiloBrowseEndpointConfigurer.java | 6 ++
.../milo/browse/MiloBrowseEndpointUriFactory.java | 3 +-
.../milo/client/MiloClientComponentConfigurer.java | 6 ++
.../milo/client/MiloClientEndpointConfigurer.java | 6 ++
.../milo/client/MiloClientEndpointUriFactory.java | 3 +-
.../camel/component/milo/browse/milo-browse.json | 22 ++---
.../camel/component/milo/client/milo-client.json | 22 ++---
.../src/main/docs/milo-client-component.adoc | 11 +--
.../milo/client/MiloClientConfiguration.java | 15 ++++
.../milo/client/internal/SubscriptionManager.java | 29 ++++---
.../dsl/MiloBrowseComponentBuilderFactory.java | 19 +++++
.../dsl/MiloClientComponentBuilderFactory.java | 19 +++++
.../dsl/MiloBrowseEndpointBuilderFactory.java | 32 ++++++++
.../dsl/MiloClientEndpointBuilderFactory.java | 96 ++++++++++++++++++++++
17 files changed, 279 insertions(+), 60 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-browse.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-browse.json
index 96973b1322df..78d36cea82ac 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-browse.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-browse.json
@@ -43,11 +43,12 @@
"maxResponseMessageSize": { "index": 16, "kind": "property",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"miloClientConnectionManager": { "index": 17, "kind": "property",
"displayName": "Milo Client Connection Manager", "group": "client", "label":
"client", "required": false, "type": "object", "javaType":
"org.apache.camel.component.milo.client.MiloClientConnectionManager",
"deprecated": false, "autowired": true, "secret": false, "description":
"Instance for managing client connections" },
"overrideHost": { "index": 18, "kind": "property", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 19, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 20, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
- "requestTimeout": { "index": 21, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 22, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 23, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 19, "kind": "property", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 20, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 21, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
+ "requestTimeout": { "index": 22, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 23, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 24, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
},
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The node ids.", "constantName":
"org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" }
@@ -78,10 +79,11 @@
"maxPendingPublishRequests": { "index": 22, "kind": "parameter",
"displayName": "Max Pending Publish Requests", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
pending publish requests" },
"maxResponseMessageSize": { "index": 23, "kind": "parameter",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"overrideHost": { "index": 24, "kind": "parameter", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 25, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 26, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
- "requestTimeout": { "index": 27, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 28, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 29, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 25, "kind": "parameter", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 26, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 27, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
+ "requestTimeout": { "index": 28, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 29, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 30, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
}
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-client.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-client.json
index 5db448b5ddc7..6be83e96e0b5 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-client.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/milo-client.json
@@ -44,11 +44,12 @@
"maxResponseMessageSize": { "index": 17, "kind": "property",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"miloClientConnectionManager": { "index": 18, "kind": "property",
"displayName": "Milo Client Connection Manager", "group": "client", "label":
"client", "required": false, "type": "object", "javaType":
"org.apache.camel.component.milo.client.MiloClientConnectionManager",
"deprecated": false, "autowired": true, "secret": false, "description":
"Instance for managing client connections" },
"overrideHost": { "index": 19, "kind": "property", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 20, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 21, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
- "requestTimeout": { "index": 22, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 23, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 24, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 20, "kind": "property", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 21, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 22, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
+ "requestTimeout": { "index": 23, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 24, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 25, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
},
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The node ids.", "constantName":
"org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" },
@@ -84,10 +85,11 @@
"maxPendingPublishRequests": { "index": 26, "kind": "parameter",
"displayName": "Max Pending Publish Requests", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
pending publish requests" },
"maxResponseMessageSize": { "index": 27, "kind": "parameter",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"overrideHost": { "index": 28, "kind": "parameter", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 29, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 30, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
- "requestTimeout": { "index": 31, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 32, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 33, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 29, "kind": "parameter", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 30, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 31, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
+ "requestTimeout": { "index": 32, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 33, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 34, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
}
}
diff --git
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseComponentConfigurer.java
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseComponentConfigurer.java
index 76283fd67250..6354a32100ef 100644
---
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseComponentConfigurer.java
+++
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseComponentConfigurer.java
@@ -67,6 +67,8 @@ public class MiloBrowseComponentConfigurer extends
PropertyConfigurerSupport imp
case "miloClientConnectionManager":
target.setMiloClientConnectionManager(property(camelContext,
org.apache.camel.component.milo.client.MiloClientConnectionManager.class,
value)); return true;
case "overridehost":
case "overrideHost":
getOrCreateConfiguration(target).setOverrideHost(property(camelContext,
boolean.class, value)); return true;
+ case "overrideport":
+ case "overridePort":
getOrCreateConfiguration(target).setOverridePort(property(camelContext,
boolean.class, value)); return true;
case "producturi":
case "productUri":
getOrCreateConfiguration(target).setProductUri(property(camelContext,
java.lang.String.class, value)); return true;
case "requesttimeout":
@@ -126,6 +128,8 @@ public class MiloBrowseComponentConfigurer extends
PropertyConfigurerSupport imp
case "miloClientConnectionManager": return
org.apache.camel.component.milo.client.MiloClientConnectionManager.class;
case "overridehost":
case "overrideHost": return boolean.class;
+ case "overrideport":
+ case "overridePort": return boolean.class;
case "producturi":
case "productUri": return java.lang.String.class;
case "requesttimeout":
@@ -181,6 +185,8 @@ public class MiloBrowseComponentConfigurer extends
PropertyConfigurerSupport imp
case "miloClientConnectionManager": return
target.getMiloClientConnectionManager();
case "overridehost":
case "overrideHost": return
getOrCreateConfiguration(target).isOverrideHost();
+ case "overrideport":
+ case "overridePort": return
getOrCreateConfiguration(target).isOverridePort();
case "producturi":
case "productUri": return
getOrCreateConfiguration(target).getProductUri();
case "requesttimeout":
diff --git
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointConfigurer.java
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointConfigurer.java
index d2bea9d7a981..708c394aee22 100644
---
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointConfigurer.java
+++
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointConfigurer.java
@@ -65,6 +65,8 @@ public class MiloBrowseEndpointConfigurer extends
PropertyConfigurerSupport impl
case "nodeClasses": target.setNodeClasses(property(camelContext,
java.lang.String.class, value)); return true;
case "overridehost":
case "overrideHost":
target.getConfiguration().setOverrideHost(property(camelContext, boolean.class,
value)); return true;
+ case "overrideport":
+ case "overridePort":
target.getConfiguration().setOverridePort(property(camelContext, boolean.class,
value)); return true;
case "producturi":
case "productUri":
target.getConfiguration().setProductUri(property(camelContext,
java.lang.String.class, value)); return true;
case "recursive": target.setRecursive(property(camelContext,
boolean.class, value)); return true;
@@ -125,6 +127,8 @@ public class MiloBrowseEndpointConfigurer extends
PropertyConfigurerSupport impl
case "nodeClasses": return java.lang.String.class;
case "overridehost":
case "overrideHost": return boolean.class;
+ case "overrideport":
+ case "overridePort": return boolean.class;
case "producturi":
case "productUri": return java.lang.String.class;
case "recursive": return boolean.class;
@@ -186,6 +190,8 @@ public class MiloBrowseEndpointConfigurer extends
PropertyConfigurerSupport impl
case "nodeClasses": return target.getNodeClasses();
case "overridehost":
case "overrideHost": return target.getConfiguration().isOverrideHost();
+ case "overrideport":
+ case "overridePort": return target.getConfiguration().isOverridePort();
case "producturi":
case "productUri": return target.getConfiguration().getProductUri();
case "recursive": return target.isRecursive();
diff --git
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointUriFactory.java
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointUriFactory.java
index 85831c5324b1..634fb4f4e9fd 100644
---
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointUriFactory.java
+++
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/browse/MiloBrowseEndpointUriFactory.java
@@ -23,7 +23,7 @@ public class MiloBrowseEndpointUriFactory extends
org.apache.camel.support.compo
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Map<String, String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(30);
+ Set<String> props = new HashSet<>(31);
props.add("allowedSecurityPolicies");
props.add("applicationName");
props.add("applicationUri");
@@ -48,6 +48,7 @@ public class MiloBrowseEndpointUriFactory extends
org.apache.camel.support.compo
props.add("node");
props.add("nodeClasses");
props.add("overrideHost");
+ props.add("overridePort");
props.add("productUri");
props.add("recursive");
props.add("requestTimeout");
diff --git
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
index 6e63597a99b4..b28d4fe4fc69 100644
---
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
+++
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
@@ -69,6 +69,8 @@ public class MiloClientComponentConfigurer extends
PropertyConfigurerSupport imp
case "miloClientConnectionManager":
target.setMiloClientConnectionManager(property(camelContext,
org.apache.camel.component.milo.client.MiloClientConnectionManager.class,
value)); return true;
case "overridehost":
case "overrideHost":
getOrCreateConfiguration(target).setOverrideHost(property(camelContext,
boolean.class, value)); return true;
+ case "overrideport":
+ case "overridePort":
getOrCreateConfiguration(target).setOverridePort(property(camelContext,
boolean.class, value)); return true;
case "producturi":
case "productUri":
getOrCreateConfiguration(target).setProductUri(property(camelContext,
java.lang.String.class, value)); return true;
case "requesttimeout":
@@ -130,6 +132,8 @@ public class MiloClientComponentConfigurer extends
PropertyConfigurerSupport imp
case "miloClientConnectionManager": return
org.apache.camel.component.milo.client.MiloClientConnectionManager.class;
case "overridehost":
case "overrideHost": return boolean.class;
+ case "overrideport":
+ case "overridePort": return boolean.class;
case "producturi":
case "productUri": return java.lang.String.class;
case "requesttimeout":
@@ -187,6 +191,8 @@ public class MiloClientComponentConfigurer extends
PropertyConfigurerSupport imp
case "miloClientConnectionManager": return
target.getMiloClientConnectionManager();
case "overridehost":
case "overrideHost": return
getOrCreateConfiguration(target).isOverrideHost();
+ case "overrideport":
+ case "overridePort": return
getOrCreateConfiguration(target).isOverridePort();
case "producturi":
case "productUri": return
getOrCreateConfiguration(target).getProductUri();
case "requesttimeout":
diff --git
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
index c0a16f0a622f..d5f5c46560e7 100644
---
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
+++
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
@@ -75,6 +75,8 @@ public class MiloClientEndpointConfigurer extends
PropertyConfigurerSupport impl
case "omitNullValues": target.setOmitNullValues(property(camelContext,
boolean.class, value)); return true;
case "overridehost":
case "overrideHost":
target.getConfiguration().setOverrideHost(property(camelContext, boolean.class,
value)); return true;
+ case "overrideport":
+ case "overridePort":
target.getConfiguration().setOverridePort(property(camelContext, boolean.class,
value)); return true;
case "producturi":
case "productUri":
target.getConfiguration().setProductUri(property(camelContext,
java.lang.String.class, value)); return true;
case "requesttimeout":
@@ -146,6 +148,8 @@ public class MiloClientEndpointConfigurer extends
PropertyConfigurerSupport impl
case "omitNullValues": return boolean.class;
case "overridehost":
case "overrideHost": return boolean.class;
+ case "overrideport":
+ case "overridePort": return boolean.class;
case "producturi":
case "productUri": return java.lang.String.class;
case "requesttimeout":
@@ -218,6 +222,8 @@ public class MiloClientEndpointConfigurer extends
PropertyConfigurerSupport impl
case "omitNullValues": return target.isOmitNullValues();
case "overridehost":
case "overrideHost": return target.getConfiguration().isOverrideHost();
+ case "overrideport":
+ case "overridePort": return target.getConfiguration().isOverridePort();
case "producturi":
case "productUri": return target.getConfiguration().getProductUri();
case "requesttimeout":
diff --git
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointUriFactory.java
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointUriFactory.java
index e376e0e7bb2a..620430d4a19c 100644
---
a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointUriFactory.java
+++
b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointUriFactory.java
@@ -23,7 +23,7 @@ public class MiloClientEndpointUriFactory extends
org.apache.camel.support.compo
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Map<String, String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(34);
+ Set<String> props = new HashSet<>(35);
props.add("allowedSecurityPolicies");
props.add("applicationName");
props.add("applicationUri");
@@ -52,6 +52,7 @@ public class MiloClientEndpointUriFactory extends
org.apache.camel.support.compo
props.add("node");
props.add("omitNullValues");
props.add("overrideHost");
+ props.add("overridePort");
props.add("productUri");
props.add("requestTimeout");
props.add("requestedPublishingInterval");
diff --git
a/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/browse/milo-browse.json
b/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/browse/milo-browse.json
index 96973b1322df..78d36cea82ac 100644
---
a/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/browse/milo-browse.json
+++
b/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/browse/milo-browse.json
@@ -43,11 +43,12 @@
"maxResponseMessageSize": { "index": 16, "kind": "property",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"miloClientConnectionManager": { "index": 17, "kind": "property",
"displayName": "Milo Client Connection Manager", "group": "client", "label":
"client", "required": false, "type": "object", "javaType":
"org.apache.camel.component.milo.client.MiloClientConnectionManager",
"deprecated": false, "autowired": true, "secret": false, "description":
"Instance for managing client connections" },
"overrideHost": { "index": 18, "kind": "property", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 19, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 20, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
- "requestTimeout": { "index": 21, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 22, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 23, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 19, "kind": "property", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 20, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 21, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
+ "requestTimeout": { "index": 22, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 23, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 24, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
},
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The node ids.", "constantName":
"org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" }
@@ -78,10 +79,11 @@
"maxPendingPublishRequests": { "index": 22, "kind": "parameter",
"displayName": "Max Pending Publish Requests", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
pending publish requests" },
"maxResponseMessageSize": { "index": 23, "kind": "parameter",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"overrideHost": { "index": 24, "kind": "parameter", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 25, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 26, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
- "requestTimeout": { "index": 27, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 28, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 29, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 25, "kind": "parameter", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 26, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 27, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
+ "requestTimeout": { "index": 28, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 29, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 30, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
}
}
diff --git
a/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/client/milo-client.json
b/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/client/milo-client.json
index 5db448b5ddc7..6be83e96e0b5 100644
---
a/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/client/milo-client.json
+++
b/components/camel-milo/src/generated/resources/META-INF/org/apache/camel/component/milo/client/milo-client.json
@@ -44,11 +44,12 @@
"maxResponseMessageSize": { "index": 17, "kind": "property",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"miloClientConnectionManager": { "index": 18, "kind": "property",
"displayName": "Milo Client Connection Manager", "group": "client", "label":
"client", "required": false, "type": "object", "javaType":
"org.apache.camel.component.milo.client.MiloClientConnectionManager",
"deprecated": false, "autowired": true, "secret": false, "description":
"Instance for managing client connections" },
"overrideHost": { "index": 19, "kind": "property", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 20, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 21, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
- "requestTimeout": { "index": 22, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 23, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 24, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 20, "kind": "property", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 21, "kind": "property", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 22, "kind": "property",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in mi [...]
+ "requestTimeout": { "index": 23, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 24, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 25, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
},
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The node ids.", "constantName":
"org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" },
@@ -84,10 +85,11 @@
"maxPendingPublishRequests": { "index": 26, "kind": "parameter",
"displayName": "Max Pending Publish Requests", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
pending publish requests" },
"maxResponseMessageSize": { "index": 27, "kind": "parameter",
"displayName": "Max Response Message Size", "group": "client", "label":
"client", "required": false, "type": "integer", "javaType": "java.lang.Long",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The maximum number of
bytes a response message may have" },
"overrideHost": { "index": 28, "kind": "parameter", "displayName":
"Override Host", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint host with the host from the endpoint URI." },
- "productUri": { "index": 29, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
- "requestedPublishingInterval": { "index": 30, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
- "requestTimeout": { "index": 31, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
- "sessionName": { "index": 32, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
- "sessionTimeout": { "index": 33, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
+ "overridePort": { "index": 29, "kind": "parameter", "displayName":
"Override Port", "group": "client", "label": "client", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Override the server
reported endpoint port with the port from the endpoint URI." },
+ "productUri": { "index": 30, "kind": "parameter", "displayName": "Product
Uri", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"http:\/\/camel.apache.org\/EclipseMilo", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The product URI" },
+ "requestedPublishingInterval": { "index": 31, "kind": "parameter",
"displayName": "Requested Publishing Interval", "group": "client", "label":
"client", "required": false, "type": "number", "javaType": "java.lang.Double",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"1_000.0", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The requested publishing
interval in m [...]
+ "requestTimeout": { "index": 32, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
+ "sessionName": { "index": 33, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
+ "sessionTimeout": { "index": 34, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" }
}
}
diff --git a/components/camel-milo/src/main/docs/milo-client-component.adoc
b/components/camel-milo/src/main/docs/milo-client-component.adoc
index e5dbf6d47b5e..7833d9da2502 100644
--- a/components/camel-milo/src/main/docs/milo-client-component.adoc
+++ b/components/camel-milo/src/main/docs/milo-client-component.adoc
@@ -74,13 +74,14 @@ If the server uses a dedicated discovery endpoint (e.g.
`/discovery`), which may
then you can make use of this via the parameter `discoveryEndpointSuffix`,
which will be appended to the `endpointUri`. Or by using
an explicit `discoveryEndpointUri`.
-=== Overriding the host name
+=== Overriding the host name or port
-The client uses the host information from the endpoint information, queried
from the server. However in some situations this endpoint URI
-might be different, and wrong from the point of view of the connecting client
(e.g. an internal hostname).
+The client uses the host and port information from the endpoint information,
queried from the server. However in some
+situations this endpoint URI might be different, and wrong from the point of
view of the connecting client (e.g. an
+internal hostname or internal port).
-In this case it is possible to set the parameter `overrideHost` to `true`,
which will take the discovered endpoint information,
-but override the host information with the value of the original URI.
+In this case it is possible to set the parameter(s) `overrideHost` or
`overridePort` to `true`, which will take the
+discovered endpoint information, but override the host or port information
with the value(s) of the original URI.
[[nodeid]]
=== Node ID
diff --git
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
index b345ad53b2db..b8a292503258 100644
---
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
+++
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
@@ -107,6 +107,9 @@ public class MiloClientConfiguration implements Cloneable {
@UriParam(label = "client")
private boolean overrideHost;
+ @UriParam(label = "client")
+ private boolean overridePort;
+
@UriParam(label = "client", defaultValue = "1_000.0")
private Double requestedPublishingInterval =
DEFAULT_REQUESTED_PUBLISHING_INTERVAL;
@@ -133,6 +136,7 @@ public class MiloClientConfiguration implements Cloneable {
this.keyPassword = other.keyPassword;
this.allowedSecurityPolicies = new
HashSet<>(other.allowedSecurityPolicies);
this.overrideHost = other.overrideHost;
+ this.overridePort = other.overridePort;
this.requestedPublishingInterval = other.requestedPublishingInterval;
}
@@ -393,6 +397,17 @@ public class MiloClientConfiguration implements Cloneable {
return overrideHost;
}
+ /**
+ * Override the server reported endpoint port with the port from the
endpoint URI.
+ */
+ public void setOverridePort(boolean overridePort) {
+ this.overridePort = overridePort;
+ }
+
+ public boolean isOverridePort() {
+ return overridePort;
+ }
+
/**
* The requested publishing interval in milliseconds
*/
diff --git
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/internal/SubscriptionManager.java
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/internal/SubscriptionManager.java
index ad2b2cd9b06a..f62e880e8d87 100644
---
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/internal/SubscriptionManager.java
+++
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/internal/SubscriptionManager.java
@@ -820,30 +820,32 @@ public class SubscriptionManager {
// return result, might override the host part
- return overrideHost(best);
+ return overrideHostOrPort(best);
}
/**
- * Optionally override the host of the endpoint URL with the configured
one. <br>
- * The method will call {@link #overrideHost(String)} if the endpoint is
not {@code null} and
- * {@link MiloClientConfiguration#isOverrideHost()} returns {@code true}.
+ * Optionally override the host or port of the endpoint URL with the
configured one. <br>
+ * The method will call {@link #overrideHostOrPort(String)} if the
endpoint is not {@code null} and
+ * ({@link MiloClientConfiguration#isOverrideHost()} returns {@code true}
or
+ * {@link MiloClientConfiguration#isOverridePort()} returns {@code true}).
*
* @param desc The endpoint descriptor to work on
* @return Either the provided or updated endpoint
descriptor. Only returns {@code null} when the
* input was {@code null}.
* @throws URISyntaxException on case the URI is malformed
*/
- private EndpointDescription overrideHost(final EndpointDescription desc)
throws URISyntaxException {
+ private EndpointDescription overrideHostOrPort(final EndpointDescription
desc) throws URISyntaxException {
if (desc == null) {
return null;
}
- if (!this.configuration.isOverrideHost()) {
+ if (!this.configuration.isOverrideHost() &&
!this.configuration.isOverridePort()) {
return desc;
}
return new EndpointDescription(
- overrideHost(desc.getEndpointUrl()), desc.getServer(),
desc.getServerCertificate(), desc.getSecurityMode(),
+ overrideHostOrPort(desc.getEndpointUrl()), desc.getServer(),
desc.getServerCertificate(),
+ desc.getSecurityMode(),
desc.getSecurityPolicyUri(),
desc.getUserIdentityTokens(), desc.getTransportProfileUri(),
desc.getSecurityLevel());
}
@@ -852,11 +854,11 @@ public class SubscriptionManager {
* Override host part of the endpoint URL with the configured one.
*
* @param endpointUrl the server provided endpoint URL
- * @return A new endpoint URL with the host part
exchanged by the configured host. Will be
- * {@code null} when the input is {@code null}.
+ * @return A new endpoint URL with the host part or
port part exchanged by the configured host or
+ * configured port, respectively. Will be
{@code null} when the input is {@code null}.
* @throws URISyntaxException on case the URI is malformed
*/
- private String overrideHost(final String endpointUrl) throws
URISyntaxException {
+ private String overrideHostOrPort(final String endpointUrl) throws
URISyntaxException {
if (endpointUrl == null) {
return null;
@@ -864,10 +866,11 @@ public class SubscriptionManager {
final URI uri = URI.create(endpointUrl);
final URI originalUri = URI.create(configuration.getEndpointUri());
+ final String host = configuration.isOverrideHost() ?
originalUri.getHost() : uri.getHost();
+ final int port = configuration.isOverridePort() ?
originalUri.getPort() : uri.getPort();
- return new URI(
- uri.getScheme(), uri.getUserInfo(), originalUri.getHost(),
uri.getPort(), uri.getPath(), uri.getQuery(),
- uri.getFragment()).toString();
+ return new URI(uri.getScheme(), uri.getUserInfo(), host, port,
uri.getPath(), uri.getQuery(), uri.getFragment())
+ .toString();
}
protected synchronized void whenConnected(final Worker<Connected> worker) {
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloBrowseComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloBrowseComponentBuilderFactory.java
index 08547c4320ce..27dba5d36c3a 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloBrowseComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloBrowseComponentBuilderFactory.java
@@ -366,6 +366,24 @@ public interface MiloBrowseComponentBuilderFactory {
}
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloBrowseComponentBuilder overridePort(boolean overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
+
+
/**
* The product URI.
*
@@ -483,6 +501,7 @@ public interface MiloBrowseComponentBuilderFactory {
case "maxResponseMessageSize":
getOrCreateConfiguration((MiloBrowseComponent)
component).setMaxResponseMessageSize((java.lang.Long) value); return true;
case "miloClientConnectionManager": ((MiloBrowseComponent)
component).setMiloClientConnectionManager((org.apache.camel.component.milo.client.MiloClientConnectionManager)
value); return true;
case "overrideHost":
getOrCreateConfiguration((MiloBrowseComponent)
component).setOverrideHost((boolean) value); return true;
+ case "overridePort":
getOrCreateConfiguration((MiloBrowseComponent)
component).setOverridePort((boolean) value); return true;
case "productUri": getOrCreateConfiguration((MiloBrowseComponent)
component).setProductUri((java.lang.String) value); return true;
case "requestedPublishingInterval":
getOrCreateConfiguration((MiloBrowseComponent)
component).setRequestedPublishingInterval((java.lang.Double) value); return
true;
case "requestTimeout":
getOrCreateConfiguration((MiloBrowseComponent)
component).setRequestTimeout((java.lang.Long) value); return true;
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloClientComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloClientComponentBuilderFactory.java
index 8642297331cf..d5ec2da4cd01 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloClientComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/MiloClientComponentBuilderFactory.java
@@ -394,6 +394,24 @@ public interface MiloClientComponentBuilderFactory {
}
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientComponentBuilder overridePort(boolean overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
+
+
/**
* The product URI.
*
@@ -512,6 +530,7 @@ public interface MiloClientComponentBuilderFactory {
case "maxResponseMessageSize":
getOrCreateConfiguration((MiloClientComponent)
component).setMaxResponseMessageSize((java.lang.Long) value); return true;
case "miloClientConnectionManager": ((MiloClientComponent)
component).setMiloClientConnectionManager((org.apache.camel.component.milo.client.MiloClientConnectionManager)
value); return true;
case "overrideHost":
getOrCreateConfiguration((MiloClientComponent)
component).setOverrideHost((boolean) value); return true;
+ case "overridePort":
getOrCreateConfiguration((MiloClientComponent)
component).setOverridePort((boolean) value); return true;
case "productUri": getOrCreateConfiguration((MiloClientComponent)
component).setProductUri((java.lang.String) value); return true;
case "requestedPublishingInterval":
getOrCreateConfiguration((MiloClientComponent)
component).setRequestedPublishingInterval((java.lang.Double) value); return
true;
case "requestTimeout":
getOrCreateConfiguration((MiloClientComponent)
component).setRequestTimeout((java.lang.Long) value); return true;
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloBrowseEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloBrowseEndpointBuilderFactory.java
index 644482923a87..e9b7f9485ebf 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloBrowseEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloBrowseEndpointBuilderFactory.java
@@ -538,6 +538,38 @@ public interface MiloBrowseEndpointBuilderFactory {
doSetProperty("overrideHost", overrideHost);
return this;
}
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloBrowseEndpointBuilder overridePort(boolean overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option will be converted to a <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloBrowseEndpointBuilder overridePort(String overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
/**
* The product URI.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloClientEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloClientEndpointBuilderFactory.java
index 58f1bc62b700..355c7d48dc95 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloClientEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MiloClientEndpointBuilderFactory.java
@@ -562,6 +562,38 @@ public interface MiloClientEndpointBuilderFactory {
doSetProperty("overrideHost", overrideHost);
return this;
}
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientEndpointConsumerBuilder overridePort(boolean
overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option will be converted to a <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientEndpointConsumerBuilder overridePort(String
overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
/**
* The product URI.
*
@@ -1335,6 +1367,38 @@ public interface MiloClientEndpointBuilderFactory {
doSetProperty("overrideHost", overrideHost);
return this;
}
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientEndpointProducerBuilder overridePort(boolean
overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option will be converted to a <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientEndpointProducerBuilder overridePort(String
overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
/**
* The product URI.
*
@@ -2037,6 +2101,38 @@ public interface MiloClientEndpointBuilderFactory {
doSetProperty("overrideHost", overrideHost);
return this;
}
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientEndpointBuilder overridePort(boolean overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
+ /**
+ * Override the server reported endpoint port with the port from the
+ * endpoint URI.
+ *
+ * The option will be converted to a <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: client
+ *
+ * @param overridePort the value to set
+ * @return the dsl builder
+ */
+ default MiloClientEndpointBuilder overridePort(String overridePort) {
+ doSetProperty("overridePort", overridePort);
+ return this;
+ }
/**
* The product URI.
*