You could certainly construct the message using dmq_send_message() function, however, you would not be able to access the reply. DMQ is designed primarily for one-way replication of information to other nodes, without caring much about the response other than that it is success or failure.
You could probably achieve what you’re looking for using http and/or jsonrpc modules quite easily.
Cheers,
Charles
--
Charles Chance
Managing Director
t. 0330 120 1200 m. 07932 063 891
Sipcentric Ltd.
Company registered in England & Wales no. 7365592. Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.