I have a System using RabbitMQ, but XOJO(Web) have not XOJO driver client, when we use HTTP API to get RabbitMQ Message (every http-post in 25ms) , it is inefficient.
(1)is there have good way to make communication between XOJO(Web) and Python(Or LUA)
(2) is it have a better way to Get RabbitMQ 's message?
If they are on the same server, you could call a python script directly with the Shell class.
I wrote a client for a messaging system similar to Rabbit MQ years ago for a client
I would not expect it to be that hard esp if you have source code for one in python, ruby, etc
I’ve done this recently. Calling a Python script or app with the shell is easy - once the wrinkles were ironed out. Getting data back from Python with prints was too slow. I’m using files for now and will look into IPC sockets. But for small amounts of data a print will be enough.
there’s a lua plugin running around somewhere too
maybe on vanhoeks site
[quote=93572:@Norman Palardy]there’s a lua plugin running around somewhere too
maybe on vanhoeks site[/quote]