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 Details

    • 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

      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

      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

      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

      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

      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

      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 (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. 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

      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&lt;org.eclipse.milo.opcua.stack.core.security.SecurityPolicy&gt;</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