3.X - Message Broker config example in YAML
This is example of configuration file in YAML format to be used with Message Broker 3.X. It refers to the latest version of message broker.
---
CloudSettings:
# IMPORTANT: do not change ConnectorVersion unless you know what you are doing
ConnectorVersion: 7.3.0
# leave DirectoryServiceUrl empty, if connecting to the productive cloud
#DirectoryServiceUrl: https://et.dev.coresuite.com
ConfirmationBundlingSize: 0
ConfirmationBundlingTimeoutMillisecs: 0
#Proxy:
Host: some_proxy_host
Port: 666
User: some_proxy_user
Password: some_proxy_pass
# PasswordSecure:
Engine:
FailoverEnabled: false
WebServiceDefinition:
UserName: fsm_user
Password: password_to_mb_web_service
#PasswordSecure:
# the web service URL is http://0.0.0.0:<ListenPort><UrlPath>
# or it is https, if Https.Enabled is set to true
# e.g. http://0.0.0.0:9999/e4c/SendOutboundMessageService
ListenPort: 9696
UrlPath: /fsm/SendOutboundMessageService
Https:
Enabled: false
# CertificateFile takes precedence over CertificateStore, if both are defined
# On production pick one that fits your environment and remove or comment out the other
# Basically, on Linux you are forced to use CertificateFile,
# while on Windows you can use either file or store, with CertificateStore having the advantage, you do not need to provide the private key password
CertificateFile:
Path: ssl/https.pfx
Password: some_certificate_pass
# PasswordSecure:
# CertificateStore makes sense only on Windows
CertificateStore:
StoreName: My
Location: LocalMachine
CertificateSubject: e4c.pcg.local
# MaxRequestBodySize defines max size of http request, web service will accept
# if not provided, .NET default is used, which is 30000000 (around 28 MB)
# if MaxRequestBodySize is set to 0, no limit is applied
MaxRequestBodySize: 0
# If after resend request there is no resend response (resend messages or resend end),
# after interval specified ResetResendAfterSecsIfNoResponse resend is considered failed
# and new resend request is sent.
# If unset, default value is used: 0 (disabled) on premise and 180 (3 minutes) in Cloud Foundry environment.
#ResetResendAfterSecsIfNoResponse: 180
CloudAccounts:
- Id: fsm_cloud_account
AccessToken: DAF38239A2DE...
# message throttling to reduce risk of memory overflow
# if number of messages in the transporter queue reaches QueueLengthThresholdHigh,
# Message Broker slows down in receiving new messages, until the count gets below QueueLengthThresholdLow
# Message Broker will take additional QueueThrottlingMaxWaitSecs seconds to process each received message, when in throttling mode
# if QueueLengthThresholdHigh, QueueLengthThresholdLow, QueueThrottlingMaxWaitSecs values are not provided, throttling is disabled
QueueLengthThresholdHigh: 350
QueueLengthThresholdLow: 300
QueueThrottlingMaxWaitSecs: 10
SapDefinitions:
- Id: sap_system
UserName: fsm_sap_user
Password: fsm_sap_pass
PasswordSecure:
Url: https://172.0.0.1/sap/bc/srt/rfc/pacg/ecm_ws/100/pacg_ecm_ws/pacg_ecm_ws
# if SAP HTTPS certificate is not trusted by itself (e.g. not signed by trusted CA or not added to trusted certificate store)
# Message Broker can trust it if its fingerprint matches HttpsCertificateFingerprint below
HttpsCertificateFingerprint: 8FD51857808F9D1AE3EBF8870F1391DC1AC5E1A1
Companies:
- Id: fsm_company1
CloudAccount: fsm_cloud_account
SapDefinition: sap_system
If you'd like to help us improve the documentation, please provide your feedback using the communication channels listed /wiki/spaces/PFCC/pages/1561427969. Learn about support possibilities here.