示例#1
0
def main():
    logger.info('Pocessor started')
    consume_queue('IN', process)
示例#2
0
def main():
    logger.info("Letter collector started")
    consume_queue("LETTERS", lambda x: process_letter(x[0], x[1]))
示例#3
0
def main():
    logger.info( 'SMTP delivery started' )
    consume_queue('OUT', sendMail)