Thanks; You say that binary message are handled directly with FTP BC. I put a
600k XLS file in my FTP folder and it just stops downloading after 13,8%. It
starts another download again and again every time it polls the FTP. (Even
if the download wouldn't stop, it is quite a problem that it starts another
one). I do not know if it is because it is binary or because of the size.
Another question: what the client API might be used for? What if I want to
create a message, with a binary attachments, and info from this binary that
I could handle afterwards to route inside the bus?
And when you write :
"
InOnly exchange = client.createInOnlyExchange();
NormalizedMessage message = exchange.getInMessage();
message.setContent(new StringSource("<hello>world!</hello>"));
client.sendSync(exchange);
will generate an XML text file on the FTP server. Here is an example of the
FTP configuration on the server side.
[...]
"
what file/part this Java Code refers to?
Thank you
Martin
gnodet wrote:
>
> Binary data should be conveyed as attachments on the
> NormalizedMessage. Such attachments are handled by
> BCs that support MIME requests (servicemix-http, servicemix-jms)
> or other BCs supporting direct binary contents (using a binary file
> marshaler for file, ftp ...).
> See
> http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/file/binary-example.xml
> for an example.
>
> On 10/16/06, mart <[EMAIL PROTECTED]> 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#a6834968
>> 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#a6835847
Sent from the ServiceMix - User mailing list archive at Nabble.com.