'Context used to acquire a producer from the pool.
For use within a :keyword:`with` statement to get a producer
from the pool if one is not already provided
Arguments:
producer (kombu.Producer): If not provided, a producer
will be acquired from the producer pool.'

def producer_or_acquire(self, producer=None):

    return FallbackContext(producer, self.producer_pool.acquire, block=True)
