Could you paste your configuration for the file component ?
Do you use a JBI packaging (SU / SA ?) ?

On 3/8/07, Felipe Gaucho <[EMAIL PROTECTED]> wrote:


ok,

I have the servicemix-file example compiling and being edited through
Eclipse... all maven steps were sucessfully done, and the "maven install"
command creates the ZIP and JAR files into target folder.

now, I changed this line code into the FileSenderEndpoint:

FROM:


>             out = new BufferedOutputStream(new
FileOutputStream(newFile));
>             marshaler.writeMessage(exchange, in, out, name);
TO:


>             out = new BufferedOutputStream(new
FileOutputStream(newFile));
>             out.write("test".getBytes());
>             //marshaler.writeMessage(exchange, in, out, name);

and now ? how to deploy ??

I tried:

1- maven install
(..\src\deployables\bindingcomponents\servicemix-file>ncamaven
eclipse:eclipse)
2 - copy ZIP file to deploy folder...
3 - tested

result: nothing happens :) The test-file is being consumed and the output
is
being created.. empty :(

--
View this message in context:
http://www.nabble.com/modifying-fileBC-example---how-to-deploy-tf3368022s12049.html#a9370963
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to