mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-17 18:41:46 +00:00
Refactor the examples after move from FairRoot
This commit is contained in:
committed by
Mohammad Al-Turany
parent
31cba0515e
commit
bab7e13737
84
examples/multiple-transports/ex-multiple-transports.json
Normal file
84
examples/multiple-transports/ex-multiple-transports.json
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"fairMQOptions": {
|
||||
"devices": [
|
||||
{
|
||||
"id": "sampler1",
|
||||
"channels": [
|
||||
{
|
||||
"name": "data1",
|
||||
"sockets": [
|
||||
{
|
||||
"type": "push",
|
||||
"method": "bind",
|
||||
"address": "tcp://127.0.0.1:5555"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ack",
|
||||
"transport": "zeromq",
|
||||
"sockets": [
|
||||
{
|
||||
"type": "sub",
|
||||
"method": "bind",
|
||||
"address": "tcp://127.0.0.1:5557"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sampler2",
|
||||
"channels": [
|
||||
{
|
||||
"name": "data2",
|
||||
"sockets": [
|
||||
{
|
||||
"type": "push",
|
||||
"method": "bind",
|
||||
"address": "tcp://127.0.0.1:5556"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sink1",
|
||||
"channels": [
|
||||
{
|
||||
"name": "data1",
|
||||
"sockets": [
|
||||
{
|
||||
"type": "pull",
|
||||
"method": "connect",
|
||||
"address": "tcp://127.0.0.1:5555"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"transport": "nanomsg",
|
||||
"sockets": [
|
||||
{
|
||||
"type": "pull",
|
||||
"method": "connect",
|
||||
"address": "tcp://127.0.0.1:5556"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ack",
|
||||
"transport": "zeromq",
|
||||
"sockets": [
|
||||
{
|
||||
"type": "pub",
|
||||
"method": "connect",
|
||||
"address": "tcp://127.0.0.1:5557"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user