From my understanding it can be achived using mule's existing processors and transformers.
After reading you input from the inbound-endpoint
Step1: Use Mule Messag Enricher as explained in the below link. This way you can make a call to an outbound and set the return from the outbound into a flow or session variable keeping you payload undisturbed.
Step 2: Then you can use the flow/session variable which is set in the enricher to make a call to the second outbound.
An abstract flow of scenario loks like this.
<flow >
<inbound-endpoint>
<enricher target="#[variable:myTempFlowVar]">
<outbound call >
</enricher>
<choice>
<when expression="#[flowVar['myTempFlowVar'] == 'Test']" >
<outbound call 2>
</when>
<otherwise>
<something else>
</otherwise>
</choice>
</flow>
Hope this helps.