cancel
Showing results for 
Search instead for 
Did you mean: 

Responseoneway Bean

itabhishek9
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182412
Active Contributor
0 Kudos

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.