I am using spring integration gateway for exposing a rest service. It has request-channel and reply-channel configured. I am looking for configuration that give me the time taken for each rest operation.
Below is the gateway configuration:
<int:gateway id="testServiceGateway"
service-interface="com.test.ws.TransactionServices"
default-reply-time-out="5000"
error-channel="txErrorChan">
<int:method name="evaluateTransaction"
request-channel="tranRequestChan"
reply-channel="tranResponseChan"
reply-time-out="3000" />
</int:gateway>
For example: I used custom request-handler-advice-chain for kafka-outbound-channel-adapter. Looking for something like this for gateway?