Interface MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder
    Enclosing interface:
    MinaEndpointBuilderFactory

    public static interface MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint producers for the Mina component.
    • Method Detail

      • cachedAddress

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder cachedAddress​(boolean cachedAddress)
        Whether to create the InetAddress once and reuse. Setting this to false allows to pickup DNS changes in the network. The option is a: <code>boolean</code> type. Default: true Group: producer (advanced)
        Parameters:
        cachedAddress - the value to set
        Returns:
        the dsl builder
      • cachedAddress

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder cachedAddress​(String cachedAddress)
        Whether to create the InetAddress once and reuse. Setting this to false allows to pickup DNS changes in the network. The option will be converted to a <code>boolean</code> type. Default: true Group: producer (advanced)
        Parameters:
        cachedAddress - the value to set
        Returns:
        the dsl builder
      • lazySessionCreation

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder lazySessionCreation​(boolean lazySessionCreation)
        Sessions can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started. The option is a: <code>boolean</code> type. Default: true Group: producer (advanced)
        Parameters:
        lazySessionCreation - the value to set
        Returns:
        the dsl builder
      • lazySessionCreation

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder lazySessionCreation​(String lazySessionCreation)
        Sessions can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started. The option will be converted to a <code>boolean</code> type. Default: true Group: producer (advanced)
        Parameters:
        lazySessionCreation - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder 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 (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder lazyStartProducer​(String 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 will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • disconnectOnNoReply

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder disconnectOnNoReply​(boolean disconnectOnNoReply)
        If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        disconnectOnNoReply - the value to set
        Returns:
        the dsl builder
      • disconnectOnNoReply

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder disconnectOnNoReply​(String disconnectOnNoReply)
        If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        disconnectOnNoReply - the value to set
        Returns:
        the dsl builder
      • maximumPoolSize

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder maximumPoolSize​(int maximumPoolSize)
        Number of worker threads in the worker pool for TCP and UDP. The option is a: <code>int</code> type. Default: 16 Group: advanced
        Parameters:
        maximumPoolSize - the value to set
        Returns:
        the dsl builder
      • maximumPoolSize

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder maximumPoolSize​(String maximumPoolSize)
        Number of worker threads in the worker pool for TCP and UDP. The option will be converted to a <code>int</code> type. Default: 16 Group: advanced
        Parameters:
        maximumPoolSize - the value to set
        Returns:
        the dsl builder
      • orderedThreadPoolExecutor

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder orderedThreadPoolExecutor​(boolean orderedThreadPoolExecutor)
        Whether to use ordered thread pool, to ensure events are processed orderly on the same channel. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        orderedThreadPoolExecutor - the value to set
        Returns:
        the dsl builder
      • orderedThreadPoolExecutor

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder orderedThreadPoolExecutor​(String orderedThreadPoolExecutor)
        Whether to use ordered thread pool, to ensure events are processed orderly on the same channel. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        orderedThreadPoolExecutor - the value to set
        Returns:
        the dsl builder
      • transferExchange

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder transferExchange​(boolean transferExchange)
        Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        transferExchange - the value to set
        Returns:
        the dsl builder
      • transferExchange

        default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder transferExchange​(String transferExchange)
        Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        transferExchange - the value to set
        Returns:
        the dsl builder