在运行了侦听器并在 Rush 中运行了一次消费者之后,我运行:
contextBroker -rush localhost:5001
我确保使用 Orion 0.17 而不是 0.14,输入 /version url 后显示的是:
<orion>
<version>0.17.0</version>
<uptime>0 d, 0 h, 12 m, 14 s</uptime>
<git_hash>127793ff921b37a6a570cd315ddce9a3ec541ccf</git_hash>
<compile_time>Fri Nov 28 09:41:22 CET 2014</compile_time>
<compiled_by>fermin</compiled_by>
<compiled_in>centollo</compiled_in>
</orion>
现在 Rush 中继器工作正常,它在终端中显示的是:
[root@fiware ngsi-proxy]# contextBroker -rush localhost:5001INFO@15:49:27 contextBroker.cpp[1348]: Orion Context Broker is running
[root@fiware ngsi-proxy]# INFO@15:49:27 MongoGlobal.cpp[164]: Successful connection to database
INFO@15:49:27 contextBroker.cpp[1157]: Connected to mongo at localhost:orion
INFO@15:49:28 MongoGlobal.cpp[483]: Database Operation Successful ({ conditions.type: "ONTIMEINTERVAL" })
INFO@15:49:28 contextBroker.cpp[1435]: Startup completed
[root@fiware ngsi-proxy]# INFO@16:01:41 rest.cpp[667]: Starting transaction from 181.64.209.16:8204/version
INFO@16:01:41 rest.cpp[380]: Transaction ended
INFO@16:01:42 rest.cpp[667]: Starting transaction from 181.64.209.16:8204/favicon.ico
WARNING@16:01:42 badRequest.cpp[52]: Bad Input (service '/favicon.ico' not found)
INFO@16:01:42 rest.cpp[380]: Transaction ended