@Service public class BookService extends Object
| Constructor and Description |
|---|
BookService(org.springframework.jms.core.JmsTemplate jmsTemplate) |
| Modifier and Type | Method and Description |
|---|---|
void |
returnBook()
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.
|
public BookService(org.springframework.jms.core.JmsTemplate jmsTemplate)
@JmsListener(destination="input2") public void returnBook()
Copyright © 2016–2021 Spring. All rights reserved.