Ju,
There's a number of ways to do this, depending on whether you need a synchronous response or not. Take a look at the HttpGateway (https://community.jboss.org/wiki/HTTPGateway#Synchronous_Responses).
What's the use case here? Is the user invoking something through http, which enters the bus, and then you want the response as a downloadable file?