Rohini Subramanian

Results 5 comments of Rohini Subramanian

Additionally, while trying out the use case 3, I notice that the XML does not do any explicit transformation between the returned User object and the User map. However, with...

_Example#2: Pass only the username to the request channel by using the request-payload-expression attribute_ **Implementation**: Enrich the payload with the username -> send to a handle method (Service Activator) ```...

Based on your comments, I used the requestSubFlow() method to handle the sample payload ``` @Bean public IntegrationFlow practiceFlow(){ return f -> f .enrich(enricherSpec -> enricherSpec .requestPayloadExpression("payload.username") // use the...

After analyzing, the confusion started due to 2 issues: 1) we pass a User object but the service method accepts a String username 2) the service handle method must return...

Based on your earlier comments, I tried this and it worked. Would this be the right approach to this? Output: User [username=foo, password=secret, [email protected]] ``` @Bean public IntegrationFlow findUserByUsernameEnricherChannel() {...