How does BusinessEvents works as an HTTP Client when using HTTP.sendRequest or any sendrequest functions?

How does BusinessEvents works as an HTTP Client when using HTTP.sendRequest or any sendrequest functions?

book

Article ID: KB0090813

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
If we use HTTP.sendRequest or any sendrequest functions, how does BusinessEvents works as an HTTP Client? Does BusinessEvents support Persistent HTTP Connection?

Environment:
===========
TIBCO BusinessEvents 5.1.1
All Operating Systems


Resolution:
========
BusinessEvents supports HTTP Persistent Connection and uses persistent connection by default. The following properties can be used to control the behavior.

com.tibco.be.http.client.socketTimeout
com.tibco.be.http.client.maxConnPerRoute
com.tibco.be.http.client.maxTotalConnnections

The default value of these properties is:

com.tibco.be.http.client.socketTimeout = 0 (never timeout)
com.tibco.be.http.client.maxConnPerRoute = 10
com.tibco.be.http.client.maxTotalConnnections = 20

Issue/Introduction

How does BusinessEvents works as an HTTP Client when using HTTP.sendRequest or any sendrequest functions?