Update device configuration

- Move general config files out of example directory to fairmq/run.
 - Use FairMQProgOptions for MQ example 5.
 - Add SendPartAsync() for non-blocking send of a message part.
This commit is contained in:
Alexey Rybalchenko
2015-11-11 11:06:11 +01:00
parent 9625268c50
commit 7744d8bc91
4 changed files with 130 additions and 87 deletions

View File

@@ -0,0 +1,41 @@
{
"fairMQOptions":
{
"device":
{
"id": "client",
"channel":
{
"name": "data",
"socket":
{
"type": "req",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
},
"device":
{
"id": "server",
"channel":
{
"name": "data",
"socket":
{
"type": "rep",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
}
}
}