-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mqsc
37 lines (31 loc) · 1.24 KB
/
config.mqsc
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
DEFINE CHANNEL(PASSWORD.SVRCONN) CHLTYPE(SVRCONN)
SET CHLAUTH(PASSWORD.SVRCONN) TYPE(BLOCKUSER) USERLIST('nobody') DESCR('Allow privileged users on this channel')
SET CHLAUTH('*') TYPE(ADDRESSMAP) ADDRESS('*') USERSRC(NOACCESS) DESCR('BackStop rule')
SET CHLAUTH(PASSWORD.SVRCONN) TYPE(ADDRESSMAP) ADDRESS('*') USERSRC(CHANNEL) CHCKCLNT(REQUIRED)
ALTER AUTHINFO(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) AUTHTYPE(IDPWOS) ADOPTCTX(YES)
REFRESH SECURITY TYPE(CONNAUTH)
define process('LAMBDATEST') +
applicid('MQLambdaSampleMessageConsumer') +
replace
define qlocal('LAMBDATEST.INITQ') +
defsopt(excl) +
replace
define qlocal('LAMBDATEST.Q') +
maxdepth(100000) +
trigger +
process('LAMBDATEST') +
trigtype(first) +
trigdata('') +
initq('LAMBDATEST.INITQ') +
replace
define service(LAMBDATEST.TM) +
control(qmgr) +
servtype(server) +
startcmd('/usr/local/bin/mqlambdatm') +
startarg('-m +QMNAME+ -q LAMBDATEST.INITQ --log-level DEBUG') +
stopcmd('+MQ_INSTALL_PATH+bin/amqsstop') +
stoparg('-m +QMNAME+ -p +MQ_SERVER_PID+') +
stdout('/tmp/lambdatest.tm.out') +
stderr('/tmp/lambdatest.tm.err') +
replace
start service(LAMBDATEST.TM)