8000 GitHub - z00s/RabbitMQDemo: This is a repo just use for Rabbit MQ test
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

z00s/RabbitMQDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ Demo

This is a repo just use for Rabbit MQ test

Installation of Rabbit MQ

Please refer to official tutorial.

Basic Configuration on Rabbit UI.

Create vitual hosts

  • Create a vitual host(VH) named /rabbit-zs
  • Add a user and grant permission fo this VH to the user

Create exchange and queue, binding each other with routeKey

  • Create a exchange named test entry.zs
  • Create a queue named test.brick.zs
  • Bind this queue to the new exchange, routeKey:brick.zs
  • Finished the basic configuration on Rabbit UI.

Write Hello World

Import java client with maven

<dependency>
  <groupId>com.rabbitmq</groupId>
  <artifactId>amqp-client</artifactId>
  <version>3.6.1</version>
</dependency>

About

This is a repo just use for Rabbit MQ test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0