"""
Here is where we configure which AMQP hub implementation we are going to use.
"""

from qpid010 import QpidAMQPHub
AMQPHub = QpidAMQPHub

#from pyamqplib import AMQPLibHub
#AMQPHub = AMQPLibHub

"""
Here is where we configure which AMQP hub implementation we are going to use.
"""

try:
    from qpid010 import QpidAMQPHub
    AMQPHub = QpidAMQPHub
except ImportError:
    print "Unable to import qpid module"
    class FakeHub(object):
        pass
    AMQPHub = FakeHub

#from pyamqplib import AMQPLibHub
#AMQPHub = AMQPLibHub

Handle working without the qpid module
Handle working without the qpid module
