Skip to content

Instantly share code, notes, and snippets.

@georgeyk
Created August 30, 2017 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgeyk/c0acac8759ff85b235851e40bd832d41 to your computer and use it in GitHub Desktop.
Save georgeyk/c0acac8759ff85b235851e40bd832d41 to your computer and use it in GitHub Desktop.
from loafer.ext.aws.routes import SNSQueueRoute
from .handlers import FoobarFriendCreatedHandler
routes = (
SNSQueueRoute(
provider_queue='foobar-friend-created',
provider_options={
'endpoint_url': 'http://localhost:4100',
},
handler=FoobarFriendCreatedHandler(),
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment