What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.

What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?
A . Put the Database SELECT operation inside a Cache scope
B . Put the Database SELECT operation inside a Message Enricher scope
C . Nothing, previous payloads are combined into the next payload
D . Save the payload from the Database SELECT operation to a variable

Answer: D

Explanation:

Correct answer is Save the payload from the Database SELECT operation to a variable Response from HTTP request will override the payload and hence response of database SELECT can be lost. Best way to preserve is to assign payload of first operation to variable using Transform Message.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments