The broker ID describes the connection from a client or server to a broker instance. It indicates the protocol or transport method to be used and where the broker is located. We distinguish two styles of broker IDs: the URL-style broker ID and the transport-method-style broker ID.
The URL-style broker ID is the recommended style. Simple forms of this style are identical with the transport method style. For both styles, the syntax, values, defaults, examples, and restrictions are listed. This document describes the two styles of broker ID:
The URL syntax is described in RFC1738 and related RFCs.
<protocol><host><port><parameter>
Element | Description | Permitted Values | Default | Notes | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<protocol> |
The transport protocol. | tcpip:// , ssl:// , http:// , https:// , or none;
|
tcpip:// |
case-insensitive.
|
||||||||
<host> |
The host where the broker operates. | A valid host name. This may be a numerical IP address or a domain name. | localhost |
For the syntax of the domain name, see RFC1034 (Domain Names - Concepts and Facilities). | ||||||||
<port> |
The port where the broker listens. | a valid port number in the form ": n ", where n is an integer.
|
Non-Java-based components: Java-based components:
|
|||||||||
<parameter> |
Parameters in the form
?<parm1>&<parm2>&... |
The keys and the permitted values depend on the protocol. | none | See Examples of Parameters for Java-based Components. |
Use the URL-style Broker ID for Java-based EntireX components such as
Broker TCP Agent (Linux | Windows), Broker SSL Agent (Linux | Windows), Broker HTTP(S) Agent (Linux | Windows)
RPC Servers: CICS IPIC | CICS ECI | CICS Socket Listener | IMS Connect | Java | XML/SOAP | IBM MQ
etc.
localhost
localhost:1971
tcpip://myhost.com:1971
tcpip://127.0.0.1:1971
ssl://localhost:22101?trust_store=C:\SoftwareAG\EntireX/etc/ExxCACert.p12&trust_passwd=ExxCACert&key_store=C:\SoftwareAG\EntireX/etc/ExxJavaAppCert.p12&key_passwd=ExxJavaAppCert
http://www.yourhost.com/servlets/tunnel
https://www.yourhost.com/servlets/tunnel
poolsize=n
, where n
=number of connections
pooltimeout=n
, where n
=number of seconds until timeout; see Socket Pooling Parameters for TCP and SSL/TLS Communication
compresslevel=[0|1|2|3|4|5|6|7|8|9|DEFAULT_COMPRESSION|NO_COMPRESSION|BEST_SPEED|DEFLATED|BEST_COMPRESSION|N|Y]
.
Set the level of compression; N
is mapped to NO_COMPRESSION
; Y
is
mapped to 6
; see Using Compression under Writing Advanced Applications - EntireX Java ACI
checkheaders=[yes|no]
. If yes
: check HTTP headers
log=[yes|no]
. If yes
: enable tracing; see Using HTTP(S) Tunneling (EntireX Java ACI | Java Wrapper)
verify_client=[yes|no]
. If yes
: SSL client has to send certificate
verify_server=[yes|no]
. If yes
: verify that the host name of the SSL server is the common name of the certificate.
The SSL server can be EntireX Broker Broker SSL Agent or Direct RPC in Integration Server (IS inbound). See:
Transport methods TCP, SSL and NET are available. The transport method may be omitted, whereby certain rules apply. See Default Rules. The transport methods TCP and NET may be also combined. See Examples below.
Element | Description | Permitted Values | Default | Notes |
---|---|---|---|---|
<host> |
The host where the broker operates. | Valid host name consisting of a domain name or a numerical IP address. | localhost | |
<port> |
The port where the broker listens. | Valid port number. | 1971 | The port is resolved by the domain name service (DNS). If the DNS cannot resolve the port, the default 1971 is used. |
Element | Description | Permitted Values | Default | Notes |
---|---|---|---|---|
<host> |
The host where the broker operates. | Valid host name consisting of a domain name or a numerical IP address. | localhost | See Using SSL/TLS with EntireX Components. |
<port> |
The port where the broker listens. | Valid port number. | 1958 | The port is resolved by the domain name service (DNS). If the DNS cannot resolve the port, the default 1958 is used. |
Element | Description | Permitted Values | Default | Notes | ||||
---|---|---|---|---|---|---|---|---|
<name> |
Sequence of letters | Any sequence of letters is allowed. | none | |||||
<node> |
Sequence of digits | A node number for Entire Net-Work or a database ID. The node number is required. | none | |||||
<svc> |
SVC number |
|
none | The broker stub module you use determines whether the SVC number can be specified as part of the broker ID. See SVC Number for Broker Communication. |
Myhost.com:65534:SSL
ETB024::TCP
tells the broker to use TCP/IP. ETB024 will be used to
look up the host TCP address. Because the port number is not specified, the
broker ID ETB024 will be used by default to look up the port number.
ETB024:3800:TCP
tells the broker to use TCP/IP. ETB024 will be used to
look up the host TCP address. Because the port number is specified, no lookup
for the port number takes place; 3800 is used directly for the port number.
ETB024::NET
tells the broker to use Entire Net-Work. Under z/OS: this format is used if the SVC number must not be changed.
ETB024:SVC252:NET
tells the broker to use Entire Net-Work, SVC number
252, as the preferred transport. This form applies to z/OS (due to the SVC number).
If broker ID does not specify a transport method, environment variable ETB_TRANSPORT
is used.
If environment variable ETB_TRANSPORT
is also not specified, TCP is used.
If the port number is not specified, 1971 is used for TCP and 1958 is used for SSL.
The transport method is not supported for Java-based EntireX components such as:
Broker TCP Agent (Linux | Windows), Broker SSL Agent (Linux | Windows), Broker HTTP(S) Agent (Linux | Windows)
RPC Servers: CICS IPIC | CICS ECI | CICS Socket Listener | IMS Connect | Java | XML/SOAP | IBM MQ
etc.
Use the URL-style Broker ID instead.
For EntireX Broker ACI Programming with programming languages such as Natural, COBOL, C etc., the broker ID has a maximum length of 32 characters unless the
LONG-BROKER-ID-LENGTH
is used (Assembler |
C |
COBOL |
PL/I |
Natural). See LONG-BROKER-ID-LENGTH
under Broker ACI Fields.