[jboss-dev-forums] [Design of JBoss ESB] - Re: Handling Large Files in JBossESB FileGateway
tfennelly
do-not-reply at jboss.com
Fri Mar 14 07:15:27 EDT 2008
You should be able to do this by writing a custom MessageComposer (org.jboss.soa.esb.listeners.message.MessageComposer). e.g. a "FileInputStreamMessageComposer" that simply opens the file InputStream on the compose() call, attaches the stream as the message payload for processing by the action pipeline, and closes the InputStream on the decompose() call.
We'd be happy to receive this back as a contribution :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136599#4136599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136599
More information about the jboss-dev-forums
mailing list