File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed
main/java/com/greglturnquist/hackingspringboot/reactive
test/java/com/greglturnquist/hackingspringboot/reactive Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 45
45
<dependency >
46
46
<groupId >io.projectreactor.tools</groupId >
47
47
<artifactId >blockhound</artifactId >
48
- <version >1.0.1 .RELEASE</version >
48
+ <version >1.0.2 .RELEASE</version >
49
49
</dependency >
50
50
<!-- end::blockhound[] -->
51
51
Original file line number Diff line number Diff line change 42
42
<dependency >
43
43
<groupId >io.projectreactor.tools</groupId >
44
44
<artifactId >blockhound-junit-platform</artifactId >
45
- <version >1.0.1 .RELEASE</version >
45
+ <version >1.0.2 .RELEASE</version >
46
46
<scope >test</scope >
47
47
</dependency >
48
48
<!-- end::blockhound[] -->
65
65
<dependency >
66
66
<groupId >io.projectreactor.tools</groupId >
67
67
<artifactId >blockhound-junit-platform</artifactId >
68
- <version >1.0.1 .RELEASE</version >
68
+ <version >1.0.2 .RELEASE</version >
69
69
<scope >test</scope >
70
70
</dependency >
71
71
</dependencies >
Original file line number Diff line number Diff line change 51
51
<dependency >
52
52
<groupId >io.projectreactor.tools</groupId >
53
53
<artifactId >blockhound-junit-platform</artifactId >
54
- <version >1.0.1 .RELEASE</version >
54
+ <version >1.0.2 .RELEASE</version >
55
55
<scope >test</scope >
56
56
</dependency >
57
57
<dependency >
Original file line number Diff line number Diff line change 69
69
<dependency >
70
70
<groupId >io.projectreactor.tools</groupId >
71
71
<artifactId >blockhound-junit-platform</artifactId >
72
- <version >1.0.1 .RELEASE</version >
72
+ <version >1.0.2 .RELEASE</version >
73
73
<scope >test</scope >
74
74
</dependency >
75
75
<dependency >
Original file line number Diff line number Diff line change 51
51
<dependency >
52
52
<groupId >org.testcontainers</groupId >
53
53
<artifactId >rabbitmq</artifactId >
54
- <version >1.12.2 </version >
54
+ <version >1.12.5 </version >
55
55
<scope >test</scope >
56
56
</dependency >
57
57
58
58
<dependency >
59
59
<groupId >org.testcontainers</groupId >
60
60
<artifactId >junit-jupiter</artifactId >
61
- <version >1.12.2 </version >
61
+ <version >1.12.5 </version >
62
62
<scope >test</scope >
63
63
</dependency >
64
64
<!-- end::testcontainers[] -->
72
72
<dependency >
73
73
<groupId >io.projectreactor.tools</groupId >
74
74
<artifactId >blockhound-junit-platform</artifactId >
75
- <version >1.0.1 .RELEASE</version >
75
+ <version >1.0.2 .RELEASE</version >
76
76
<scope >test</scope >
77
77
</dependency >
78
78
<dependency >
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Mono<ResponseEntity<?>> addNewItemUsingSpringAmqp(@RequestBody Mono<Item> item)
52
52
return Mono .fromCallable (() -> { // <3>
53
53
this .template .convertAndSend ( // <4>
54
54
"hacking-spring-boot" , "new-items-spring-amqp" , content );
55
- return ResponseEntity .created (URI .create ("/spring-amqp/ items" )).build (); // <5>
55
+ return ResponseEntity .created (URI .create ("/items" )).build (); // <5>
56
56
}).subscribeOn (Schedulers .elastic ()); // <6>
57
57
});
58
58
}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public void initialize(ConfigurableApplicationContext configurableApplicationCon
64
64
65
65
// tag::spring-amqp-test[]
66
66
@ Test
67
- void verifyMessagingThroughSpringAmqp () throws InterruptedException {
67
+ void verifyMessagingThroughAmqp () throws InterruptedException {
68
68
this .webTestClient .post ().uri ("/items" ) // <1>
69
69
.bodyValue (new Item ("Alf alarm clock" , "nothing important" , 19.99 )) //
70
70
.exchange () //
You can’t perform that action at this time.
0 commit comments