Staged HTTP > File forwarding to bypass polling

File forwarding to bypass polling

The default way to receive messages via the staged HTTP transport is Activator polling of the web server for inbound messages sent by partners. You can set up another way, where the web server forwards messages to Activator upon receipt. This bypasses polling and increases throughput, but opens a port into your trusted network.

To use forwarding, set up a staged HTTP transport for receiving messages in the community as though you are using the polling method. But also add an embedded HTTP server transport in the profile. The staged HTTP servlet forwards messages to the embedded server, but polling remains active with the staged HTTP transport. This provides failover protection. If a message cannot be forwarded because, for example, Activator server is not running, the message is retrieved once the server restarts and polls the web server.

To enable forwarding, configure the forwarding.xml file in the staged HTTP servlet’s conf directory. The following describes the elements in the file. You must delete or comment out unused elements.

Related topics