[jboss-dev-forums] [Design of JBoss ESB] - Re: Handling Large Files in JBossESB FileGateway

Kevin.Conner@jboss.com do-not-reply at jboss.com
Mon Mar 31 04:58:20 EDT 2008


"jmorgan" wrote : Any suggestions on how to marshall the FileInputStream or how that'd work?
This is not possible in the current architecture as FileInputStreams are not serializable and will therefore fail as soon as the message needs to be marshalled.

At present the only solutions are to pass the contents through an out of band mechanism (such as including the filename or storing in a database) or to split up the content into small messages at the gateway.

Transparent handling of streams is on the roadmap for a future release.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140031#4140031

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140031



More information about the jboss-dev-forums mailing list