'Declare queue and exchange then binds queue to exchange.'

def declare(self, nowait=False, channel=None):

    if (not self.no_declare):
        self._create_exchange(nowait=nowait, channel=channel)
        self._create_queue(nowait=nowait, channel=channel)
        self._create_bindings(nowait=nowait, channel=channel)
    return self.name
