Interface MiloServerComponentBuilderFactory.MiloServerComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.milo.server.MiloServerComponent>
- All Known Implementing Classes:
MiloServerComponentBuilderFactory.MiloServerComponentBuilderImpl
- Enclosing interface:
- MiloServerComponentBuilderFactory
public static interface MiloServerComponentBuilderFactory.MiloServerComponentBuilder extends ComponentBuilder<org.apache.camel.component.milo.server.MiloServerComponent>
Builder for the OPC UA Server component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
applicationName(String applicationName)
The application name.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
applicationUri(String applicationUri)
The application URI.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
bindAddresses(String bindAddresses)
Set the addresses of the local addresses the server should bind to.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
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 MiloServerComponentBuilderFactory.MiloServerComponentBuilder
buildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo buildInfo)
Server build info.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
certificate(X509Certificate certificate)
Server certificate.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
certificateManager(org.eclipse.milo.opcua.stack.core.security.CertificateManager certificateManager)
Server certificate manager.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
certificateValidator(org.eclipse.milo.opcua.stack.core.security.CertificateValidator certificateValidator)
Validator for client certificates.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
defaultCertificateValidator(String defaultCertificateValidator)
Validator for client certificates using default file based approach.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
enableAnonymousAuthentication(boolean enableAnonymousAuthentication)
Enable anonymous authentication, disabled by default.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
namespaceUri(String namespaceUri)
The URI of the namespace, defaults to urn:org:apache:camel.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
path(String path)
The path to be appended to the end of the endpoint url.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
port(int port)
The TCP port the server binds to.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
productUri(String productUri)
The product URI.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
securityPolicies(Set<org.eclipse.milo.opcua.stack.core.security.SecurityPolicy> securityPolicies)
Security policies.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
securityPoliciesById(String securityPoliciesById)
Security policies by URI or name.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
userAuthenticationCredentials(String userAuthenticationCredentials)
Set user password combinations in the form of user1:pwd1,user2:pwd2 Usernames and passwords will be URL decoded.default MiloServerComponentBuilderFactory.MiloServerComponentBuilder
usernameSecurityPolicyUri(org.eclipse.milo.opcua.stack.core.security.SecurityPolicy usernameSecurityPolicyUri)
Set the UserTokenPolicy used when.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
applicationName
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder applicationName(String applicationName)
The application name. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
applicationName
- the value to set- Returns:
- the dsl builder
-
applicationUri
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder applicationUri(String applicationUri)
The application URI. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
applicationUri
- the value to set- Returns:
- the dsl builder
-
bindAddresses
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder bindAddresses(String bindAddresses)
Set the addresses of the local addresses the server should bind to. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
bindAddresses
- the value to set- Returns:
- the dsl builder
-
buildInfo
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder buildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo buildInfo)
Server build info. The option is a: <code>org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo</code> type. Group: common- Parameters:
buildInfo
- the value to set- Returns:
- the dsl builder
-
namespaceUri
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder namespaceUri(String namespaceUri)
The URI of the namespace, defaults to urn:org:apache:camel. The option is a: <code>java.lang.String</code> type. Default: urn:org:apache:camel Group: common- Parameters:
namespaceUri
- the value to set- Returns:
- the dsl builder
-
path
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder path(String path)
The path to be appended to the end of the endpoint url. (doesn't need to start with '/'). The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
path
- the value to set- Returns:
- the dsl builder
-
port
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder port(int port)
The TCP port the server binds to. The option is a: <code>int</code> type. Group: common- Parameters:
port
- the value to set- Returns:
- the dsl builder
-
productUri
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder productUri(String productUri)
The product URI. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
productUri
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder 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 MiloServerComponentBuilderFactory.MiloServerComponentBuilder 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 MiloServerComponentBuilderFactory.MiloServerComponentBuilder 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
-
certificate
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder certificate(X509Certificate certificate)
Server certificate. The option is a: <code>java.security.cert.X509Certificate</code> type. Group: security- Parameters:
certificate
- the value to set- Returns:
- the dsl builder
-
certificateManager
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder certificateManager(org.eclipse.milo.opcua.stack.core.security.CertificateManager certificateManager)
Server certificate manager. The option is a: <code>org.eclipse.milo.opcua.stack.core.security.CertificateManager</code> type. Group: security- Parameters:
certificateManager
- the value to set- Returns:
- the dsl builder
-
certificateValidator
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder certificateValidator(org.eclipse.milo.opcua.stack.core.security.CertificateValidator certificateValidator)
Validator for client certificates. The option is a: <code>org.eclipse.milo.opcua.stack.core.security.CertificateValidator</code> type. Group: security- Parameters:
certificateValidator
- the value to set- Returns:
- the dsl builder
-
defaultCertificateValidator
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder defaultCertificateValidator(String defaultCertificateValidator)
Validator for client certificates using default file based approach. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
defaultCertificateValidator
- the value to set- Returns:
- the dsl builder
-
enableAnonymousAuthentication
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder enableAnonymousAuthentication(boolean enableAnonymousAuthentication)
Enable anonymous authentication, disabled by default. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
enableAnonymousAuthentication
- the value to set- Returns:
- the dsl builder
-
securityPolicies
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder securityPolicies(Set<org.eclipse.milo.opcua.stack.core.security.SecurityPolicy> securityPolicies)
Security policies. The option is a: <code>java.util.Set<org.eclipse.milo.opcua.stack.core.security.SecurityPolicy></code> type. Group: security- Parameters:
securityPolicies
- the value to set- Returns:
- the dsl builder
-
securityPoliciesById
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder securityPoliciesById(String securityPoliciesById)
Security policies by URI or name. Multiple policies can be separated by comma. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
securityPoliciesById
- the value to set- Returns:
- the dsl builder
-
userAuthenticationCredentials
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder userAuthenticationCredentials(String userAuthenticationCredentials)
Set user password combinations in the form of user1:pwd1,user2:pwd2 Usernames and passwords will be URL decoded. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
userAuthenticationCredentials
- the value to set- Returns:
- the dsl builder
-
usernameSecurityPolicyUri
default MiloServerComponentBuilderFactory.MiloServerComponentBuilder usernameSecurityPolicyUri(org.eclipse.milo.opcua.stack.core.security.SecurityPolicy usernameSecurityPolicyUri)
Set the UserTokenPolicy used when. The option is a: <code>org.eclipse.milo.opcua.stack.core.security.SecurityPolicy</code> type. Group: security- Parameters:
usernameSecurityPolicyUri
- the value to set- Returns:
- the dsl builder
-
-