HTTP Connection
The HTTP Connection resource describes the characteristics of the connection used to receive incoming HTTP requests. This resource is used when ActiveMatrix BusinessWorks expects to receive an HTTP request on a specific port where a process engine is running. For example, the process starters HTTP Receiver and SOAP Event Source and the signal-in activity Wait for HTTP Request receive HTTP requests.
Two types of servers are available for the HTTP Connection resource: Tomcat and HTTPComponent.
Tomcat has a synchronous request response paradigm and can be used in scenarios where high throughput is important. To achieve a good throughput with Tomcat, the maxprocessor value should be almost equal to the number of concurrent requests the server can handle. Note that increasing the maxprocessor count also increases the memory footprint.
HTTPComponent is a light-weight and scalable server based on NIO which can be useful in scenarios where handling thousands of requests in a resource efficient manner is more important than the throughput. HTTPComponent server gives a consistent throughput for any number of concurrent requests with little or no increase in its worker thread (maxprocessor thread).
bw.plugin.http.server.serverType
in the file bwengine.tra
. Using this property, you can use the HTTPComponent server at run-time for older projects without having to modify the server type at design-time. The value set for this property in the bwengine.tra
file overrides the value that is set in design-time.The HTTP Connection resource can specify that the HTTPS (secure sockets layer or SSL) protocol must be used by clients. If this is enabled, you can configure the SSL parameters for the HTTP server using the Configure SSL Button. For more information, see Configure SSL Button.