Capital Markets Adapters 10.7 | Apama Capital Markets Adapters Documentation 10.7 | Bloomberg B-PIPE Adapter | Transport configuration
 
Transport configuration
To configure the transport, make a copy of the Bloomberg_BPIPE.xml.dist configuration file (for example, copy to Bloomberg_BPIPE_PROD.xml) and edit the copy as described. All user-configurable parameters are marked with @PARAMETER_NAME@ text in the template configuration. No other part of the transport configuration file should be changed.
Set the parameters in the IAF configuration file:
Parameter
Description
BPIPE_TRANSPORT
Replace "@BPIPE_TRANSPORT@" in the <transport> element with the name of the transport instance.
BPIPE.API (@BPIPE_CLIENT_MODE@)
Name of the transport instance.
BPIPE.Host and BPIPE.Port (@BPIPE_HOST@ & @BPIPE_PORT@)
Host name and IP address of Bloomberg to connect.
For Server Mode
BPIPE.uuid(@BPIPE_UUID@)
Set user identify (UUID) of BLOOMBERG PROFESSIONAL service(BPS).
BPIPE.ipAddress(@BPIPE_IP_ADDRESS@)
The IP address of the host where that user logs to the BLOOMBERG PROFESSIONAL service.
Code snippet to add in transport parameter properties to Enable Server Mode:
<!-- Server API parameter parameters -->
<property name="BPIPE.uuid" value="@BPIPE_UUID@" />
<property name="BPIPE.ipAddress" value="@BPIPE_IP_ADDRESS@" />
where @BPIPE_UUID@ and @BPIPE_IP_ADDRESS@ are replaced with UUID and IP address respectively.
For BPIPE Mode :(Following are Authentication Options)
BPIPE.AuthenticationMode(@BPIPE_AUTHENTICATION_MODE@)
used to set the Authentication mode of Bloomberg Session. The valid options are USER_ONLY or APPLICATION_ONLY or USER_AND_APPLICATION.
BPIPE.AuthenticationType(@BPIPE_AUTHENTICATION_TYPE@)
Required for USER_ONLY or USER_AND_APPLICATION Mode. The valid options are "OS_LOGON" or "DIRECTORY_SERVICE"
BPIPE.ApplicationName(@BPIPE_APPLICATION_NAME@)
Required for APPLICATION_ONLY or USER_AND_APPLICATION Mode.
Note: 
The above configuration properties are attached to the Bloomberg SessionOptions object and thus passed into the session when it is created for details, refer to Bloomberg API documents. Application should be a Feed Adaptor for using BPS (Bloomberg Professional Service).
CorrelatorHBTimeout (@CORRELATOR_HB_TIMEOUT@)
A natural number telling the transport how many seconds it should wait for a heartbeat from the service monitors before deciding that the connection had been lost. If not specified in the configuration file it default value of 15 seconds is used.
LogSeverity(@BPIPE_LOG_VERBOSITY@)
Set the threshold of Severity to Bloomberg for logging the messages. The valid severity are : OFF, ERROR, WARN, INFO, DEBUG, TRACE.
<property name="LogSeverity" value="WARN" />
DispatcherThreads
This is for Bloomberg Session object and used to set the no of dispatcher threads which process the events.
the default value is 3.
<property name="DispatcherThreads" value="3" />