Interface MiloClientComponentBuilderFactory.MiloClientComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.milo.client.MiloClientComponent>
- All Known Implementing Classes:
MiloClientComponentBuilderFactory.MiloClientComponentBuilderImpl
- Enclosing interface:
- MiloClientComponentBuilderFactory
public static interface MiloClientComponentBuilderFactory.MiloClientComponentBuilder extends ComponentBuilder<org.apache.camel.component.milo.client.MiloClientComponent>
Builder for the OPC UA Client component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
allowedSecurityPolicies(String allowedSecurityPolicies)
A set of allowed security policy URIs.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
applicationName(String applicationName)
The application name.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
applicationUri(String applicationUri)
The application URI.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
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 message and handled by the routing Error Handler.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
channelLifetime(Long channelLifetime)
Channel lifetime in milliseconds.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
clientId(String clientId)
A virtual client id to force the creation of a new connection instance.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
configuration(org.apache.camel.component.milo.client.MiloClientConfiguration configuration)
All default options for client configurations.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
discoveryEndpointSuffix(String discoveryEndpointSuffix)
A suffix for endpoint URI when discovering.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
discoveryEndpointUri(String discoveryEndpointUri)
An alternative discovery URI.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
keyAlias(String keyAlias)
The name of the key in the keystore file.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
keyPassword(String keyPassword)
The key password.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
keyStorePassword(String keyStorePassword)
The keystore password.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
keyStoreType(String keyStoreType)
The key store type.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
keyStoreUrl(String keyStoreUrl)
The URL where the key should be loaded from.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
maxPendingPublishRequests(Long maxPendingPublishRequests)
The maximum number of pending publish requests.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
maxResponseMessageSize(Long maxResponseMessageSize)
The maximum number of bytes a response message may have.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
miloClientConnectionManager(org.apache.camel.component.milo.client.MiloClientConnectionManager miloClientConnectionManager)
Instance for managing client connections.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
overrideHost(boolean overrideHost)
Override the server reported endpoint host with the host from the endpoint URI.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
productUri(String productUri)
The product URI.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
requestedPublishingInterval(Double requestedPublishingInterval)
The requested publishing interval in milliseconds.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
requestTimeout(Long requestTimeout)
Request timeout in milliseconds.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
sessionName(String sessionName)
Session name.default MiloClientComponentBuilderFactory.MiloClientComponentBuilder
sessionTimeout(Long sessionTimeout)
Session timeout in milliseconds.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
clientId
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder clientId(String clientId)
A virtual client id to force the creation of a new connection instance. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
clientId
- the value to set- Returns:
- the dsl builder
-
configuration
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder configuration(org.apache.camel.component.milo.client.MiloClientConfiguration configuration)
All default options for client configurations. The option is a: <code>org.apache.camel.component.milo.client.MiloClientConfiguration</code> type. Group: common- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
discoveryEndpointSuffix
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder discoveryEndpointSuffix(String discoveryEndpointSuffix)
A suffix for endpoint URI when discovering. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
discoveryEndpointSuffix
- the value to set- Returns:
- the dsl builder
-
discoveryEndpointUri
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder discoveryEndpointUri(String discoveryEndpointUri)
An alternative discovery URI. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
discoveryEndpointUri
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
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 message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
autowiredEnabled
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder autowiredEnabled(boolean autowiredEnabled)
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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
autowiredEnabled
- the value to set- Returns:
- the dsl builder
-
allowedSecurityPolicies
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder allowedSecurityPolicies(String allowedSecurityPolicies)
A set of allowed security policy URIs. Default is to accept all and use the highest. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
allowedSecurityPolicies
- the value to set- Returns:
- the dsl builder
-
applicationName
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder applicationName(String applicationName)
The application name. The option is a: <code>java.lang.String</code> type. Default: Apache Camel adapter for Eclipse Milo Group: client- Parameters:
applicationName
- the value to set- Returns:
- the dsl builder
-
applicationUri
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder applicationUri(String applicationUri)
The application URI. The option is a: <code>java.lang.String</code> type. Default: http://camel.apache.org/EclipseMilo/Client Group: client- Parameters:
applicationUri
- the value to set- Returns:
- the dsl builder
-
channelLifetime
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder channelLifetime(Long channelLifetime)
Channel lifetime in milliseconds. The option is a: <code>java.lang.Long</code> type. Group: client- Parameters:
channelLifetime
- the value to set- Returns:
- the dsl builder
-
keyAlias
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder keyAlias(String keyAlias)
The name of the key in the keystore file. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
keyAlias
- the value to set- Returns:
- the dsl builder
-
keyPassword
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder keyPassword(String keyPassword)
The key password. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
keyPassword
- the value to set- Returns:
- the dsl builder
-
keyStorePassword
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder keyStorePassword(String keyStorePassword)
The keystore password. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
keyStorePassword
- the value to set- Returns:
- the dsl builder
-
keyStoreType
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder keyStoreType(String keyStoreType)
The key store type. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
keyStoreType
- the value to set- Returns:
- the dsl builder
-
keyStoreUrl
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder keyStoreUrl(String keyStoreUrl)
The URL where the key should be loaded from. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
keyStoreUrl
- the value to set- Returns:
- the dsl builder
-
maxPendingPublishRequests
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder maxPendingPublishRequests(Long maxPendingPublishRequests)
The maximum number of pending publish requests. The option is a: <code>java.lang.Long</code> type. Group: client- Parameters:
maxPendingPublishRequests
- the value to set- Returns:
- the dsl builder
-
maxResponseMessageSize
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder maxResponseMessageSize(Long maxResponseMessageSize)
The maximum number of bytes a response message may have. The option is a: <code>java.lang.Long</code> type. Group: client- Parameters:
maxResponseMessageSize
- the value to set- Returns:
- the dsl builder
-
miloClientConnectionManager
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder miloClientConnectionManager(org.apache.camel.component.milo.client.MiloClientConnectionManager miloClientConnectionManager)
Instance for managing client connections. The option is a: <code>org.apache.camel.component.milo.client.MiloClientConnectionManager</code> type. Group: client- Parameters:
miloClientConnectionManager
- the value to set- Returns:
- the dsl builder
-
overrideHost
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder overrideHost(boolean overrideHost)
Override the server reported endpoint host with the host from the endpoint URI. The option is a: <code>boolean</code> type. Default: false Group: client- Parameters:
overrideHost
- the value to set- Returns:
- the dsl builder
-
productUri
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder productUri(String productUri)
The product URI. The option is a: <code>java.lang.String</code> type. Default: http://camel.apache.org/EclipseMilo Group: client- Parameters:
productUri
- the value to set- Returns:
- the dsl builder
-
requestedPublishingInterval
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder requestedPublishingInterval(Double requestedPublishingInterval)
The requested publishing interval in milliseconds. The option is a: <code>java.lang.Double</code> type. Default: 1_000.0 Group: client- Parameters:
requestedPublishingInterval
- the value to set- Returns:
- the dsl builder
-
requestTimeout
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder requestTimeout(Long requestTimeout)
Request timeout in milliseconds. The option is a: <code>java.lang.Long</code> type. Group: client- Parameters:
requestTimeout
- the value to set- Returns:
- the dsl builder
-
sessionName
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder sessionName(String sessionName)
Session name. The option is a: <code>java.lang.String</code> type. Group: client- Parameters:
sessionName
- the value to set- Returns:
- the dsl builder
-
sessionTimeout
default MiloClientComponentBuilderFactory.MiloClientComponentBuilder sessionTimeout(Long sessionTimeout)
Session timeout in milliseconds. The option is a: <code>java.lang.Long</code> type. Group: client- Parameters:
sessionTimeout
- the value to set- Returns:
- the dsl builder
-
-