def __init__(self, inbound_consumer, success_publisher, error_publisher, dead_letter_publisher):
    self.inbound_consumer = inbound_consumer
    self.success_publisher = success_publisher
    self.error_publisher = error_publisher
    self.dead_letter_publisher = dead_letter_publisher
def __init__(self, inbound_consumer, success_publisher, error_publisher, dead_letter_publisher):
    self.inbound_consumer = inbound_consumer
    self.success_publisher = success_publisher
    self.error_publisher = error_publisher
    self.dead_letter_publisher = dead_letter_publisher