Giter VIP home page Giter VIP logo

rabbitmq-consumer-plugin's Introduction

rabbitmq-consumer: RabbitMQ Consumer Plugin for Jenkins

Synopsis

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.

Develop listener plugin

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.

Publish messages from your plugin

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

Customized server operation

This plugin provides interface for customized operation.

You can customize server operation like the following.

  • Declare queue/exchange
  • Modify queue/exchange properties
  • queue-exchange binding

This interface passes instance of Channel as argument.

Extension Point:

org.jenkinsci.plugins.rabbitmqconsumer.extensions.ServerOperator

Notice

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.

Material

License

MIT License

Copyright

Copyright (c) 2013 rinrinne a.k.a. rin_ne

rabbitmq-consumer-plugin's People

Contributors

rinrinne avatar oleg-nenashev avatar mtharp avatar bols-blue avatar opax avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.