My Python is worse than my Chinese (I have never seen so many smiling faces than when I try to speak Mandarin), so I need a little help:
I want something to listen to MQ (for topics specified in a configuration) and relay the message to dBus and in return listen to dBus (for topics specified in a configuration) and relay them back to the MQ. From poking around my conclusion is Python would be suitable. I found: MQTT.org PYMQi and Mosquitto.
So the approach seems to be valid. Now I'm looking for code samples. My main concern is to make the code efficient. Since it seems that the routine needs to run in a polling loop how do I do that in Python without bogging down my system.
PYMQi has sample code here: http://packages.python.org/pymqi/examples.html In order not to poll you might want to look at MQ Triggers. They enable an application to be launched when a message is put on a queue.