Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The httpn:engine-factory element has three children that contain the information used to configure the HTTP ports instantiated by the Netty runtime factory. The children are described below.

ElementDescription

httpn:engine

Specifies the configuration for a particular Netty runtime instance.

httpn:identifiedTLSServerParameters

Specifies a reusable set of properties for securing an HTTP server. It has a single attribute, id, that specifies a unique identifier by which the property set can be referred.

httpn:identifiedThreadingParameters

Specifies a reusable set of properties for controlling a Netty instance's thread pool. It has a single attribute, id, that specifies a unique identifier by which the property set can be referred.

...

The child elements used to provide the configuration properties are described below.

ElementDescription

httpn:tlsServerParameters

Specifies a set of properties for configuring the security used for the specific Netty instance. See the TLS Configuration page for more information.

httpn:tlsServerParametersRef

Refers to a set of security properties defined by a identifiedTLSServerParameters element. The id attribute provides the id of the referred identifiedTLSServerParameters element.

httpn:threadingParameters

Specifies the size of the thread pool used by the specific Netty instance.

httpn:threadingParametersRef

Refers to a set of properties defined by a identifiedThreadingParameters element. The id attribute provides the id of the referred identifiedThreadingParameters element.

httpn:sessionSupport

If the value is true , the Netty Engine will set up a session manager for the Netty server engine to maintain the sessions. The default value of it is false.

httpn:reuseAddress

The the value is true, the Netty Engine connector's socket will enable the SO_REUSEADDR flage. The default value of it is true.

...

  • Specifying the size of thread pool using a identifiedThreadingParameters element in the engine-factory element. You then refer to the element using a threadingParametersRef element.
  • Specify the size of the of thread pool directly using a threadingParameters element.
    The threadingParameters has one attribute to specify the size of a thread pool. The attribute is described below.

    Warning

    The httpj:identifiedThreadingParameters element has a single child threadingParameters element


AttributeDescription

threadPoolSize

Specifies the number of threads available to the Netty instance for processing requests.

...