@Component public class BookListener extends Object
| Modifier and Type | Field and Description |
|---|---|
AtomicBoolean |
bookSuccessfulyDeleted |
| Constructor and Description |
|---|
BookListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
bookDeleted(BookDeleted bookDeleted)
Scenario for "should generate tests triggered by a message": client side: if sends
a message to input.messageFrom then message will be sent to output.messageFrom
server side: will send a message to input, verify the message contents and await
upon receiving message on the output messageFrom
|
void |
returnBook(BookReturned bookReturned)
Scenario for "should generate tests triggered by a message": client side: if sends
a message to input.messageFrom then message will be sent to output.messageFrom
server side: will send a message to input, verify the message contents and await
upon receiving message on the output messageFrom
|
public AtomicBoolean bookSuccessfulyDeleted
@StreamListener(value="input") public void returnBook(BookReturned bookReturned)
@StreamListener(value="delete") public void bookDeleted(BookDeleted bookDeleted)
Copyright © 2016–2021 Spring. All rights reserved.