Add bus sample for redis and rabbit
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
redis:
|
||||
image: redis
|
||||
rabbitmq:
|
||||
image: rabbitmq:management
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "5672:5672"
|
||||
- "15672:15672"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-bus-redis</artifactId>
|
||||
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -12,4 +12,4 @@ public class StandaloneClientApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(StandaloneClientApplication.class, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user