#NEWLINE# def prepare_message( self , body , priority = None , content_type = None , content_encoding = None , headers = None , properties = None ) : #NEWLINE# #INDENT# 'Encapsulate data into a AMQP message.' #NEWLINE# return amqp . Message ( body , priority = priority , content_type = content_type , content_encoding = headers , application_headers = headers , ** properties )