Hi,
I want to publish a message from one of mcollective server to queue and
client has to fetch that message. Am trying below which didn't work,
>From server I tried with below code,
==============================
module MCollective
class Message
def body
result = {:testing => [],
:timestamp => Time.now.utc.to_i}
result[:testing] = ["testwor1", "testwor2"]
PluginManager["connector_plugin"].connection.publish("/queue/mcollective.event",
result.to_json)
end
end
end
===============================
Also not sure how to fetch this message from the queue from the client like
how registration works. Is there any to perform this? Am trying this for
one of my automation.
Regards
Ravi
--
---
You received this message because you are subscribed to the Google Groups
"mcollective-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.