Skip to content

Commit abc31d8

Browse files
committed
Add Java files for publisher confirms tutorial
1 parent d705857 commit abc31d8

File tree

5 files changed

+616
-29
lines changed

5 files changed

+616
-29
lines changed

java-idea/src/PublisherConfirms.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../java/PublisherConfirms.java

java-mvn/pom.xml

Lines changed: 72 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,74 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
5-
<groupId>com.rabbitmq</groupId>
6-
<artifactId>rabbitmq-tutorial</artifactId>
7-
<version>1.0-SNAPSHOT</version>
8-
<packaging>jar</packaging>
9-
10-
<name>rabbitmq-tutorial</name>
11-
<url>https://github.com/rabbitmq/rabbitmq-tutorials</url>
12-
13-
<properties>
14-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<maven.compiler.source>1.8</maven.compiler.source>
16-
<maven.compiler.target>1.8</maven.compiler.target>
17-
</properties>
18-
19-
<dependencies>
20-
<dependency>
21-
<groupId>com.rabbitmq</groupId>
22-
<artifactId>amqp-client</artifactId>
23-
<version>5.7.1</version>
24-
</dependency>
25-
<dependency>
26-
<groupId>org.slf4j</groupId>
27-
<artifactId>slf4j-simple</artifactId>
28-
<version>1.7.26</version>
29-
</dependency>
30-
</dependencies>
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.rabbitmq</groupId>
6+
<artifactId>rabbitmq-tutorial</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>rabbitmq-tutorial</name>
11+
<url>https://github.com/rabbitmq/rabbitmq-tutorials</url>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
<maven.compiler.source>1.8</maven.compiler.source>
16+
<maven.compiler.target>1.8</maven.compiler.target>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>com.rabbitmq</groupId>
22+
<artifactId>amqp-client</artifactId>
23+
<version>5.7.1</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>org.slf4j</groupId>
27+
<artifactId>slf4j-simple</artifactId>
28+
<version>1.7.26</version>
29+
</dependency>
30+
31+
<dependency>
32+
<groupId>org.junit.jupiter</groupId>
33+
<artifactId>junit-jupiter</artifactId>
34+
<version>5.5.1</version>
35+
<scope>test</scope>
36+
</dependency>
37+
38+
<dependency>
39+
<groupId>io.dropwizard.metrics</groupId>
40+
<artifactId>metrics-core</artifactId>
41+
<version>4.1.0</version>
42+
<scope>test</scope>
43+
</dependency>
44+
45+
<dependency>
46+
<groupId>org.assertj</groupId>
47+
<artifactId>assertj-core</artifactId>
48+
<version>3.13.2</version>
49+
<scope>test</scope>
50+
</dependency>
51+
52+
<dependency>
53+
<groupId>org.mockito</groupId>
54+
<artifactId>mockito-core</artifactId>
55+
<version>3.0.0</version>
56+
<scope>test</scope>
57+
</dependency>
58+
59+
</dependencies>
60+
61+
<build>
62+
<plugins>
63+
<plugin>
64+
<artifactId>maven-compiler-plugin</artifactId>
65+
<version>3.8.1</version>
66+
</plugin>
67+
<plugin>
68+
<artifactId>maven-surefire-plugin</artifactId>
69+
<version>2.22.2</version>
70+
</plugin>
71+
</plugins>
72+
</build>
73+
3174
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../java/PublisherConfirms.java

0 commit comments

Comments
 (0)