Commit graph

269 commits

Author SHA1 Message Date
Tomas Kopecek
cd45e886cc runroot plugin 2015-01-27 22:41:00 -06:00
Mike Bonnet
ab53d2deb0 update copyright 2014-10-28 23:54:21 -04:00
Mike Bonnet
a71ae2711b Add timeout and heartbeat options to the messagebus plugin.
The plugin will block for timeout seconds at most when trying to send a message to the broker.  After that amount of time, the send will fail and an error will be logged.
The plugin will check that the broker is reachable every heartbeat seconds.  If it is not reachable, the connection will be aborted and a new connection will be attempted the next time a message is sent.
2013-06-12 10:11:03 -04:00
Mike Bonnet
957fff5ff5 block for a maximum of 60 seconds when sending a message 2012-06-29 17:35:54 -04:00
Mike Bonnet
bec96c17e1 use a heartbeat when connecting to the messagebus 2012-06-29 12:17:59 -04:00
Mike Bonnet
82463bd071 gssapi support in the messagebus plugin 2012-03-08 12:52:16 -05:00
Mike Bonnet
ccc53532be rpm2maven: a plugin to extract Maven artifacts from a rpm build and make them available in the Koji-managed Maven repo 2010-11-09 09:50:09 -05:00
Mike Bonnet
0ad96b9952 use qpid native marshalling/unmarshalling for message content, instead of json 2010-10-27 12:06:37 -04:00
Mike Bonnet
afe05a0263 update the messagebus plugin to use the new qpid.messaging API 2010-10-27 11:57:38 -04:00
Mike Bonnet
163837aff5 add the task method into the routing key or header for TaskStateChange messages 2010-05-05 13:57:51 -04:00
Mike Bonnet
022a172abe - only send messages for post callbacks
- remove the unnecessary "post" prefix from the message type
2010-01-05 14:37:11 -05:00
Mike Bonnet
b320bada69 - replace periods with underscores in the tokens that make up the routing key, so the number of tokens in the routing keys are deterministic and consistent
- reduce the number of tokens in the routing keys
2010-01-04 18:52:13 -05:00
Mike Bonnet
bca4ad5e76 rename the "queues" configuration section to "topic", to indicate it is only relevant for topic exchanges 2010-01-04 18:30:58 -05:00
Mike Bonnet
91e6572e89 support for the "headers" exchange type 2010-01-04 18:27:07 -05:00
Mike Bonnet
40423461db don't let encoding push the routing key over the max length 2010-01-04 16:44:59 -05:00
Mike Bonnet
1f290e278c declare our own exchange, rather than using the builtin amq.topic exchange 2010-01-04 16:32:57 -05:00
Mike Bonnet
53296425c1 messagebus.py: a hub plugin to send notifications of events to an amqp broker 2009-12-22 13:44:12 -05:00
Mike Bonnet
2571537bb2 add koji-hub-plugins subpackage 2009-11-10 14:56:05 -05:00
Mike Bonnet
ae953a7072 - extend the plugin system with an event-based callback infrastructure
- implement callback hooks for task state transitions
 - example echo plugin that logs all callback invocations
2009-11-09 10:13:21 -05:00