/
Example Message Broker configuration for BTP
Example Message Broker configuration for BTP
---
applications:
- name: FSM_Message_Broker
memory: 256M
disk_quota: 512M
buildpacks:
- binary_buildpack
command: chmod 777 ./MessageBroker && exec ./MessageBroker
health-check-type: process
no-route: false
services:
- proaxiacf_applauth
- proaxiacf_connectivity
- proaxiacf_destination
env:
MessageBrokerNLog: |
<?xml version="1.0" encoding="utf-8"?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="NLog NLog.xsd">
<targets async="true">
<target xsi:type="Console" name="console" layout="${date:format=HH\:mm\:ss.fff} ${level:uppercase=true} [${logger}] ${message} ${exception:format=type,message,stacktrace:maxInnerExceptionLevel=10:innerExceptionSeparator=\ncaused by :innerFormat=shortType,message,stacktrace}"/>
</targets>
<rules>
<logger name="System.Net.Http.HttpClient.*" maxlevel="Info" final="true"/>
<logger name="Microsoft.Extensions.Http.DefaultHttpClientFactory" maxlevel="Info" final="true"/>
<logger name="Microsoft.AspNetCore.Server.Kestrel" maxlevel="Info" final="true"/>
<logger name="Microsoft.AspNetCore.Server.Kestrel.*" maxlevel="Info" final="true"/>
<logger name="ERPConnector__--" final="true"/>
<logger name="Transporter_Download__*" final="true" />
<logger name="Transporter_Upload__*" final="true" />
<logger name="Transporter_MetaData__*" final="true" />
<logger name="DownloadService" final="true"/>
<logger name="MetaDataService" final="true"/>
<logger name="*" minlevel="Trace" writeTo="console"/>
</rules>
</nlog>
MessageBrokerConfig: |
---
CloudSettings:
ConfirmationBundlingSize: 100
ConfirmationBundlingTimeoutMillisecs: 1000
WebServiceDefinition:
UserName: USER_ENTERED_IN_CLIENT_PROXY_SERVICE
Password: PASSWORD_ENTERED_IN_CLIENT_PROXY_SERVICE
UrlPath: /e4c/SendOutboundMessageService
MaxRequestBodySize: 0
ResetResendAfterSecsIfNoResponse: 180
CloudAccounts:
- Id: test-fsm-account
ClientId: 0000000-0000000000-0000000-0000000
ClientSecret: 00000000-000000000-00000000-000000000
ClientSecretSecure:
QueueLengthThresholdHigh: 350
QueueLengthThresholdLow: 300
QueueThrottlingMaxWaitSecs: 10
SapDefinitions:
- Id: sap_definition_1
BtpDestination: btp_destination_name
BtpDestinationPath: outbound_ws_path, e.g. /sap/bc/srt/rfc/pacg/ecm_ws/900/pacg_ecm_ws/
# Url:
# UserName and Password/PasswordSecure need to be mainained only if direct URL is used
# if connecting via BTP destination, the authentication credentials should be maintained in the destination itself
# UserName:
# Password:
#PasswordSecure:
#HttpsCertificateFingerprint: <certificate hash is direct https url is used with self-signed cert>
Companies:
- Id: fsm_company_name
CloudAccount: test-fsm-account
SapDefinition: sap_definition_1
, multiple selections available,
Related content
Message Broker
Message Broker
More like this
How to install the Message Broker - reliable guide
How to install the Message Broker - reliable guide
More like this
Message Broker Failover
Message Broker Failover
More like this
Message Broker 4.X config example in YAML
Message Broker 4.X config example in YAML
More like this
Message Broker Releases
Message Broker Releases
More like this
Message Broker versions matrix
Message Broker versions matrix
More like this
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.