Are you looking to create an output file from a message? There is a quickstart example that shows this:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier
Reply to this message by going to Community
Start a new discussion in JBoss ESB Development at Community