1 of 1 people found this helpful
Are you looking to create an output file from a message? There is a quickstart example that shows this:
No no. I'm looking the way to return the file output to the client side.
With your quickstart, the output fs will located at server side not client side as expected.
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?