-
Notifications
You must be signed in to change notification settings - Fork 24
/
sender.cfg
51 lines (42 loc) · 1.69 KB
/
sender.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[sender]
# Either 'STOMP' for STOMP message brokers or 'AMS' for Argo Messaging Service
protocol: AMS
[broker]
# msg-devel.argo.grnet.gr is only for test data
# msg.argo.grnet.gr is for production data
host:
# 'port' is only used for STOMP sending.
port: 443
# broker authentication. If use_ssl is set, the certificates configured
# in the mandatory [certificates] section will be used.
use_ssl: true
[certificates]
certificate: /etc/grid-security/hostcert.pem
key: /etc/grid-security/hostkey.pem
capath: /etc/grid-security/certificates
# If supplied, outgoing messages will be encrypted using this certificate.
# May be used in addition to 'use_ssl'. If used, it MUST be the certificate of
# the final server that's receiving your messages; not your own, nor the broker.
#server_cert: /etc/grid-security/servercert.pem
[messaging]
# If using AMS this is the project that SSM will connect to. Ignored for STOMP.
ams_project: accounting
# Queue to which SSM will send messages
destination: gLite-APEL
# Only use direct token auth with AMS if you've been provided with a token to use.
#token:
# Outgoing messages will be read and removed from this directory.
path: /var/spool/apel/outgoing
# If 'path_type' is set to 'dirq' (or if 'path_type' is omitted), the supplied
# 'path' will be treated as a Python dirq (a directory based queue, which is a
# port of the Perl module Directory::Queue).
# If 'path_type' is set to 'directory', the supplied 'path' will be treated
# as if it is a directory rather than a dirq.
# As a result, 'path' cannot contain subdirectories.
path_type: dirq
[logging]
logfile: /var/log/apel/ssmsend.log
# Available logging levels:
# DEBUG, INFO, WARN, ERROR, CRITICAL
level: INFO
console: true