Download this file

index.py    10 lines (7 with data), 229 Bytes

1
2
3
4
5
6
7
8
from lamson import queue
from lamson.routing import route, stateless
import logging
@route("(address)@(host)")
@stateless
def START(message, post_name=None, host=None):
logging.debug("Got message from %s", message['from'])