on 03-29-2017 3:20 PM
Hi SDnites,
I have a Async to Sync scenario and wanted to check following points,
1. For receiver to be Sync, do I need to mandatorily make my receiver service interface to be synchronous or using module RequestResponseBean will make it synchronous during runtime.
2. ResponseOnewayBean has got 2 different set of parameters which I havefound online,
First set, (Will be used when I do not want to create other interface)
1. receiverChannel
2. receiverService
Second set, (Will be used when I waant to create other interface)
1. interface
2. interfaceNamespace
3. replaceInterface
Regards,
Abhi
Hi Abhishek,
1. For receiver to be Sync, do I need to mandatorily make my receiver service interface to be synchronous or using module RequestResponseBean will make it synchronous during runtime.
You can create receiver service interface as asynchronous, the RequestResponseBean module will change the quality of service from async to sync and then ResponseOnewayBean module will change the quality of service from sync to async again.
2. ResponseOnewayBean has got 2 different set of parameters which I havefound online,
Better to use the modules in receiver channel, if you configure RequestResponseBean and ResponseOnewayBean modules in receiver channel the use interface, interfaceNamespace and replaceInterface parameters for ResponseOnewayBean to find the second asynchronous response interface, the other parameters if you use these modules in sender channel and to find the receiver channel to send the response message.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.