Mule avoid downloading file after db select statement -


<flow name="testflow1" doc:name="testflow1">    <http:inbound-endpoint exchange-pattern="request-response" host="${hostname}" port="${port}" path="dbtest" doc:name="http"/>     <db:select config-ref="postgresql" doc:name="database">         <db:parameterized-query><![cdata[select id, name, int_status test]]></db:parameterized-query>     </db:select> <!--line 6 -->           <!-- <set-payload value="==no downlaod=#[payload]" doc:name="set payload"/>-->         </flow> 

when run application url: host:port/dbtest, getting file downloaded. how can avoid downloading file? if enable line 6, don't file downloaded, instead displays in browser.

since have used http inbound 'exchange-pattern' request-response. when enable setpayload(line 6) returning brower. if dont want that, make http exchange-pattern one- way.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - href attribute breaking an element -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -