Ejemplo n.º 1
0
 def on_message(self, body, message):
     exchange = message.delivery_info['exchange']
     routing_key = message.delivery_info['routing_key']
     logger.info('received push message from %s#%s', exchange, routing_key)
     store_pulse_resultsets.apply_async(
         args=[body, exchange, routing_key],
         routing_key='store_pulse_resultsets')
     message.ack()
Ejemplo n.º 2
0
 def on_message(self, body, message):
     store_pulse_resultsets.apply_async(
         args=[
             body, message.delivery_info["exchange"],
             message.delivery_info["routing_key"]
         ],
         routing_key='store_pulse_resultsets')
     message.ack()
Ejemplo n.º 3
0
 def on_message(self, body, message):
     store_pulse_resultsets.apply_async(
         args=[body,
               message.delivery_info["exchange"],
               message.delivery_info["routing_key"]],
         routing_key='store_pulse_resultsets'
     )
     message.ack()
Ejemplo n.º 4
0
 def on_message(self, body, message):
     exchange = message.delivery_info['exchange']
     routing_key = message.delivery_info['routing_key']
     logger.info('received push message from %s#%s' % (exchange, routing_key))
     store_pulse_resultsets.apply_async(
         args=[body, exchange, routing_key],
         routing_key='store_pulse_resultsets'
     )
     message.ack()