@Service public class BookService extends Object
| Constructor and Description |
|---|
BookService(org.springframework.cloud.stream.messaging.Source source) |
| Modifier and Type | Method and Description |
|---|---|
void |
returnBook(BookReturned bookReturned)
Scenario for "should generate tests triggered by a method": client side: must have
a possibility to "trigger" sending of a message to the given messageFrom server
side: will run the method and await upon receiving message on the output
messageFrom
Method triggers sending a message to a source
|
@Autowired public BookService(org.springframework.cloud.stream.messaging.Source source)
public void returnBook(BookReturned bookReturned)
Copyright © 2016–2021 Spring. All rights reserved.