File tree 2 files changed +11
-4
lines changed
src/main/java/com/baeldung/controller
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 27
27
<dependency >
28
28
<groupId >io.projectreactor</groupId >
29
29
<artifactId >reactor-bus</artifactId >
30
+ <version >2.0.8.RELEASE</version >
31
+ </dependency >
32
+ <dependency >
33
+ <groupId >io.projectreactor</groupId >
34
+ <artifactId >reactor-core</artifactId >
35
+ <version >2.0.8.RELEASE</version >
30
36
</dependency >
31
37
</dependencies >
32
-
33
38
</project >
Original file line number Diff line number Diff line change 1
1
package com .baeldung .controller ;
2
2
3
- import com .baeldung .doman .NotificationData ;
4
3
import org .springframework .beans .factory .annotation .Autowired ;
5
- import org .springframework .stereotype .Controller ;
6
4
import org .springframework .web .bind .annotation .GetMapping ;
7
5
import org .springframework .web .bind .annotation .PathVariable ;
6
+ import org .springframework .web .bind .annotation .RestController ;
7
+
8
+ import com .baeldung .doman .NotificationData ;
9
+
8
10
import reactor .bus .Event ;
9
11
import reactor .bus .EventBus ;
10
12
11
- @ Controller
13
+ @ RestController
12
14
public class NotificationController {
13
15
14
16
@ Autowired
You can’t perform that action at this time.
0 commit comments