mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Rename /example to /examples and move MQ examples in it
This commit is contained in:
committed by
Mohammad Al-Turany
parent
736d61830c
commit
f0a878a43a
85
examples/MQ/6-multiple-channels/ex6-multiple-channels.json
Normal file
85
examples/MQ/6-multiple-channels/ex6-multiple-channels.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"fairMQOptions":
|
||||
{
|
||||
"device":
|
||||
{
|
||||
"id": "sampler1",
|
||||
"channel":
|
||||
{
|
||||
"name": "data-out",
|
||||
"socket":
|
||||
{
|
||||
"type": "push",
|
||||
"method": "bind",
|
||||
"address": "tcp://*:5555",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
},
|
||||
"channel":
|
||||
{
|
||||
"name": "broadcast-in",
|
||||
"socket":
|
||||
{
|
||||
"type": "sub",
|
||||
"method": "connect",
|
||||
"address": "tcp://localhost:5005",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"device":
|
||||
{
|
||||
"id": "sink1",
|
||||
"channel":
|
||||
{
|
||||
"name": "data-in",
|
||||
"socket":
|
||||
{
|
||||
"type": "pull",
|
||||
"method": "connect",
|
||||
"address": "tcp://localhost:5555",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
},
|
||||
"channel":
|
||||
{
|
||||
"name": "broadcast-in",
|
||||
"socket":
|
||||
{
|
||||
"type": "sub",
|
||||
"method": "connect",
|
||||
"address": "tcp://localhost:5005",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"device":
|
||||
{
|
||||
"id": "broadcaster1",
|
||||
"channel":
|
||||
{
|
||||
"name": "broadcast-out",
|
||||
"socket":
|
||||
{
|
||||
"type": "pub",
|
||||
"method": "bind",
|
||||
"address": "tcp://*:5005",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user