Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pika
9 changes: 9 additions & 0 deletions adm/templates/plugins/amqp10_listener/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": "{% raw %}{{MFMODULE_VERSION}}{% endraw %}",
"release": "1",
"one_line_summary": "one line summary about your plugin",
"license": ["Proprietary", "BSD", "MIT", "GPL", "Specific"],
"url": "http://yourpluginhomepage",
"maintainer": "Firstname FAMILYNAME <email>",
"vendor": "MetWork"
}
1 change: 1 addition & 0 deletions adm/templates/plugins/amqp10_listener/hooks
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python3

import time
import sys
import proton
import xattrfile
import signal
import os
from acquisition.listener import AcquisitionListener


# To be written !

class Ampq10Listener(AcquisitionListener):

def listen(self):
self.info("Listening...")
while True:
time.sleep(1)


if __name__ == "__main__":
x = Listener()
x.run()

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "_common/config.ini" %}

{% block step %}
{% endblock %}
{% block switch %}
{% endblock %}

{% block extra_daemons %}
[extra_daemon_amqp10listener]
_cmd_and_args = amqp10_listener.py --step-name=main
numprocesses=1
{% endblock %}

{% block custom %}
# To be written
{% endblock %}

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-qpid-proton

This file was deleted.