Interface | Description |
---|---|
RequestResponseService |
Class | Description |
---|---|
RequestResponseServiceDefaultImpl |
Default implementation of
RequestResponseService interface. |
RequestSendingEventNotifier |
Listens to request sending (event =
ExchangeSendingEvent ). |
ResponseReceiveEventNotifier |
Listens to response receive (event =
ExchangeSentEvent ). |
Default implementation uses Camel events that has one possible disadvantage - it's necessary to join request and response together (= two Camel events) and if exchange is changed from sending request until response receive then it's not possible to join it.
Requests/responses are saved into database, RequestResponseService
defines contract
- default implementation
save them directly to DB
in synchronous manner.
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.