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

87 lines
3.0 KiB
JSON

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