From HTTP Multithreading
The From HTTP Multithread component is designed to work with the From HTTP Multithread Worker to enable parallel processing of requests. These components have two distinct roles:
From HTTP Multithread is the dispatcher component which listens for requests and sends it to the worker component for parallel processing using
iguana.callComponentFunction(previouslycomponent.callprior to v10.1.111).From HTTP Multithread Worker component handles the actual processing of the data dispatched by the From HTTP Multithread component.
The From HTTP Multithread and From HTTP Multithread Worker components require IguanaX v10.1.111 or later.
Running the Components:
Adapting the Components:
Additional Information:
The From HTTP Multithread component serves as a listener to incoming HTTP/HTTPs requests and will be the component responding back. The worker component is only responsible for processing as well as creating a response for the listener to use.
To that extent, code changes to the From HTTP Multithread component are not required in most cases as the Worker component will perform all of the processing. By default the Worker will create a simple “Hello World” response for the listener to respond with.