#NEWLINE# def handle_message( body , message ) : #NEWLINE# #INDENT# print ( 'Received message: {0!r}' . format ( message ) ) #NEWLINE# print ( '  properties:\n{0}' . format ( pretty ( message . properties ) ) ) #NEWLINE# print ( '  delivery_info:\n{0}' . format ( pretty ( message . delivery_info ) ) ) #NEWLINE# message . ack ( )