Files
FairMQ/examples/MQ/6-multiple-channels/ex6-multiple-channels.json
2018-05-02 16:12:57 +02:00

80 lines
2.1 KiB
JSON

{
"fairMQOptions":
{
"devices":
[{
"id": "sampler1",
"channels":
[{
"name": "data",
"socket":
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
},
{
"name": "broadcast",
"socket":
{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}]
},
{
"id": "sink1",
"channels":
[{
"name": "data",
"socket":
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
},
{
"name": "broadcast",
"socket":
{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}]
},
{
"id": "broadcaster1",
"channel":
{
"name": "broadcast",
"socket":
{
"type": "pub",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
}]
}
}