And further question: why can't we use the BinaryFileMarshaler directly? What if I do not need anything else but what it already provides ? (I found on this forum we cannot use it directly)
mart wrote: > > Ok I have to implement this new marshaler and declare it in the xml > configuration file, right? > But how do I include this marshaler into servicemix ? > > > gnodet wrote: >> >> Sure, just implement a new marshaler by extending the BinaryFileMarshaler >> and you will be able to add properties or an xml content to the >> normalized >> message. >> >> On 10/17/06, mart <[EMAIL PROTECTED]> wrote: >>> >>> New question: >>> >>> is it possible in any way to create a (normalized) message that would >>> include metadata or context data ? The goal would be to do some content >>> data >>> routing, but since it would not do it from the binary or non-xml text >>> file, >>> then I would like to add them manually to a normalized xml message that >>> would attach the binary/non-xml data. >>> >>> >>> >>> mart wrote: >>> > >>> > Hello >>> > >>> > How and where to use the binaryfileMarshaler (or any marshaler I would >>> > program if this one doesn't make sense?)? >>> > >>> > I want to transport binary files through the bus. On an architecture >>> point >>> > of view, what component/part do I need to code and what is the >>> appropriate >>> > scenario to handle this? (like FTP => FTP or Mail(attachment) flow) ? >>> > >>> > Thanks for your answer >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Binary-file-transport-tf2452407.html#a6850751 >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> >> -- >> Cheers, >> Guillaume Nodet >> >> > > -- View this message in context: http://www.nabble.com/Binary-file-transport-tf2452407.html#a6852664 Sent from the ServiceMix - User mailing list archive at Nabble.com.
