sbproxy

StreamBase Proxy — starts the StreamBase Proxy server

SYNOPSIS

sbproxy [-f file.sbconf] proxy-version proxy-port sbd-hostname sbd-port

DESCRIPTION

The StreamBase proxy server supports both enqueuing and dequeuing remote clients. Running separately from the sbd server, it converts data from an older protocol on the client and a newer protocol on the sbd server, and exchanges the data without performing any other processing.

The StreamBase proxy changes between major StreamBase releases (for example, between 5.0 and 5.1). The StreamBase proxy can be used to provide backwards compatibility from the version you are running to older versions of StreamBase clients.

Optionally, the proxy server can also be run to support authorization, if configured in the security section of the sbd server's sbconf file.

OPTIONS

-f file.sbconf

The sbd server configuration file where you have defined the security element to enable sbproxy security.

ARGUMENTS

proxy-version

The StreamBase version that the client application was created with. An instance of the proxy server can only have one version; for example, to run a 3.5 client and a 3.7 client, you must run two separate proxy servers.

proxy-port

The port number used by the sbproxy server.

sbd-hostname

The remote host on which the sbd server runs.

sbd-port

The port number used by the sbd server.

Examples

The following command starts sbproxy and enables the connection of an older StreamBase client (Version 3.7) with a current sbd. The proxy server is using port 10100, and the sbd, running locally, is using port 10000.

sbproxy 3.7 10100 localhost 10000

The following command starts sbproxy and forces the associated sbd to communicate with clients only through sbproxy on the local host:

sbproxy -f sbd.sbconf 5.0 10100 localhost 10000