On 7/19/07, Nicola Buso <[EMAIL PROTECTED]> wrote:
Yes the BinaryFileMarshaller is assuming that, but also the FileSender (and 
probably other
components using the marshaller) is assuming to deal only with one file (one NM 
one file).

A first step should be to split messages and save every attachment separately. 
Problem
should arise if the number of attachments is not known; in that case we have to 
evaluate
if the better way is to obtain a complex SA or to patch the code.

IMO, the component itself should know how to distinguish and handle
multiple attachments instead of relying upon the user to create a
complex SA.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to