Last active
March 6, 2019 20:04
-
-
Save jortel/b7b9ec8bfe154db68353f2c5cfeeb89b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/jortel/gofer/blob/master/src/gofer/messaging/adapter/model.py#L548 | |
| from gofer.messaging import NotFound, Reader, Queue | |
| q = Queue('xyz') | |
| try: | |
| with Reader(q, url='qpid+amqp://localhost'): | |
| print 'Found' | |
| except NotFound: | |
| print 'Not Found' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment