-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: relax @channel conditions for completion/validation Signed-off-by: Fred Bricon <fbricon@gmail.com>
- Loading branch information
1 parent
4f1e08e
commit 8a47098
Showing
4 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...mp/projects/maven/microprofile-reactive-messaging/src/main/java/org/acme/kafka/Quote.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.acme.kafka; | ||
|
||
public class Quote { | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
...cts/maven/microprofile-reactive-messaging/src/main/java/org/acme/kafka/QuoteResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.acme.kafka; | ||
|
||
import io.smallrye.mutiny.Multi; | ||
import org.eclipse.microprofile.reactive.messaging.Channel; | ||
|
||
public class QuoteResource { | ||
|
||
@Channel("quotes") | ||
Multi<Quote> quotes; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters