[rabbitmq-discuss] log rabbitmq messages
xeonmailinglist at gmail.com
Mon Oct 14 15:04:43 BST 2013
I launch bash commands with python, and I do this remote invocations
sending remote messages to the rabbitmq. The messages get to the remote
hosts, and the commands are launched, but I am waiting for the return of
the invocation and it doesn't come back, althougt the remote python
method returns the result of the launched bash command.
I am going to illustrate this:
client sends message to remote host to run "myprogram.sh"
the remote host has this method and receive the message from the rabbitmq:
result=run bash command.
Myprogram.sh takes 10 minutes to run, and sometimes the client gets the
response, sometimes doesn't. I don't understand why sometimes it doesn't
get the result.
Is it correct to return the result of the remote invocation with a
simple "return result" in the remote method? Can I log the messages that
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss