Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:
  # 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
    ClientId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    ClientSecret:
    ClientSecretSecure:
    # 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
  • No labels