Camel Rest to dB Query, returning incorrect response
问题 I am trying to receive a xml message from a rest call, then make a call to the db, map each row into an object and then return the complete marshalled object as the rest response. However my db query result is being returned as the rest response even before the last process has executed. Can you please advise if there is something wrong I am doing that is resulting in the dB query being returned? Please also advise if my solution is the correct approach, As the real db query will have about