- Author: rinrinne a.k.a. rin_ne
- Repository: http://github.com/jenkinsci/rabbitmq-consumer-plugin
- Plugin Information: https://wiki.jenkins-ci.org/display/JENKINS/RabbitMQ+Consumer+Plugin
rabbitmq-consumer is a Jenkins plugin to connect to RabbitMQ then consume application messages in specific queues.
This plugin has global configuration only, so any features for user are not provided. You would need other plugins to provide features for user.
This plugin provides convenient interfaces to listen application messages.
To implement listener to your plugin, the below setups are needed.
in pom.xml:
<project>
<dependencies>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>rabbitmq-consumer</artifactId>
<version>VERSION</version>
</dependency>
</dependencies>
</project>
Extension Point:
org.jenkinsci.plugins.rabbitmqconsumer.extensions.MessageQueueListener
Interface org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListener
is obsolated in 2.0. Any implementation classes are no longer called.
This plugin provides convenient interfaces to publish messages to RabbitMQ.
If you want to use them from your plugin, please see the implementation of RabbitMQ Build Trigger Plugin.
Implementaion class:
org.jenkinsci.plugins.rabbitmqbuildtrigger.RemoteBuildPublisher
Extension Point:
org.jenkinsci.plugins.rabbitmqconsumer.extensions.MessagePublisher
Interfaces:
org.jenkinsci.plugins.rabbitmqconsumer.publishers.PublishChannelFactory org.jenkinsci.plugins.rabbitmqconsumer.publishers.PublishChannel org.jenkinsci.plugins.rabbitmqconsumer.publishers.PublishResult org.jenkinsci.plugins.rabbitmqconsumer.publishers.ExchangeType org.jenkinsci.plugins.rabbitmqconsumer.listeners.RMQChannelListener
This plugin does not generates any queues in RabbitMQ. So you should prepare them by yourself.
Interfaces were drastically changed in 2.0. You should not upgrade to 2.0 if you use other plugin for 1.0.
MIT License
Copyright (c) 2013 rinrinne a.k.a. rin_ne