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
      • 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