https://github.com/fizzed/rabbitmq-plus
Utility modules and framework integrations for Java and RabbitMQ
https://github.com/fizzed/rabbitmq-plus
Last synced: 2 months ago
JSON representation
Utility modules and framework integrations for Java and RabbitMQ
- Host: GitHub
- URL: https://github.com/fizzed/rabbitmq-plus
- Owner: fizzed
- Created: 2020-12-29T21:51:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T04:07:09.000Z (over 4 years ago)
- Last Synced: 2024-03-27T08:17:15.939Z (about 1 year ago)
- Language: Java
- Size: 1.55 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RabbitMQ Plus by Fizzed
============================================[](https://maven-badges.herokuapp.com/maven-central/com.fizzed/rabbitmq-plus)
[Fizzed, Inc.](http://fizzed.com) (Follow on Twitter: [@fizzed_inc](http://twitter.com/fizzed_inc))
## Overview
Utilities and framework integrations for Java and RabbitMQ. Includes an integration
of [RabbitMQ](https://www.rabbitmq.com/) with the [Ninja Framework](https://github.com/ninjaframework/ninja).## Connection Pool and Other Helpers
### Setup
```xml
com.fizzed
rabbitmq-util
0.0.5```
Browse the utilities in https://github.com/fizzed/rabbitmq-plus/tree/master/rabbitmq-util/src/main/java/com/fizzed/rabbitmq/util
## Ninja Framework
Ninja Framework module for RabbitMQ. Will help provide connectivity to RabbitMQ,
a connection pool, and session providers.### Setup
Add the rabbitmq-ninja-module dependency to your Maven pom.xml
```xml
com.fizzed
rabbitmq-ninja-module
0.0.5```
In your `conf/Module.java` file:
```java
package conf;import com.fizzed.rabbitmq.ninja.NinjaRabbitModule;
import com.google.inject.AbstractModule;public class Module extends AbstractModule {
@Override
protected void configure() {
install(new NinjaRabbitModule());
}}
```In your `conf/application.conf` file:
```java
#
# rabbitmq
#
rabbitmq.verify_queues = test.request
rabbitmq.url = amqp://localhost:5672
rabbitmq.user = root
rabbitmq.password = test
rabbitmq.pool.min_idle = 0
#rabbitmq.pool.max_idle = 0
rabbitmq.pool.evictable_idle_time_millis = 10000
```## License
Copyright (C) 2020 Fizzed, Inc.
This work is licensed under the Apache License, Version 2.0. See LICENSE for details.