Skip to content
This repository was archived by the owner on Sep 26, 2018. It is now read-only.

Conversation

@jtopjian
Copy link
Contributor

This commit adds a publish action to the RabbitMQ pack, allowing a crafted message to be published to a RabbitMQ server.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pack is built around pika. Using kombu probably works as it is a core stackstorm dependency but it is perhaps better to use pika.

Something like https://www.rabbitmq.com/tutorials/tutorial-one-python.html

Pika generally makes for simpler APIs than kombu. In core stackstorm also we are considering a move towards pika.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I chose Kombu since it's required by StackStorm. I'll take a look at switching over to Pika.

@jtopjian
Copy link
Contributor Author

@manasdk switched to Pika. Let me know how this looks. I can squash the commits to something cleaner before the final merge.

@manasdk
Copy link
Contributor

manasdk commented Jul 13, 2015

Looks good. Thanks for switching to Pika.

Travis is complaiing about line length -
/home/travis/build/StackStorm/st2contrib/packs/rabbitmq/actions/publish_message.py:6:101: E501 line too long (129 > 100 characters)

Will merge after that gets fixed.

This commit adds a publish action to the RabbitMQ pack, allowing a crafted message to be published to a RabbitMQ server.
@jtopjian
Copy link
Contributor Author

@manasdk looks like everything is checking out. Let me know if there are any other changes to make.

manasdk added a commit that referenced this pull request Jul 14, 2015
Adds Publish action to RabbitMQ
@manasdk manasdk merged commit aca5b68 into StackStorm:master Jul 14, 2015
@manasdk
Copy link
Contributor

manasdk commented Jul 14, 2015

Done. Merged!

@Kami
Copy link
Member

Kami commented Jul 20, 2015

Nice 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants