Working example of file upload using camel cxf:rs

2020-10-12 Thread Vikas Jaiswal
Hi, I want to upload a file using cxf:rs .Is there any example to refer to for it. Warm Regards, Vikas Jaiswal Lead Consultant [cid:image001.png@01D67243.124E3960] M: +91 9371626126 | Skype: vikasdnjaiswal W: www.saksoft.com | www.acuma.co.uk

Rest DSL, Servlet, Jetty, Multi part file upload

2019-03-25 Thread Alex Soto
Hello, Using Camel version 2.21.1, I need to process file upload from a multi part form web UI. My setup is as follows

camel-jetty http proxy taking too much of time for large request streams (file upload)

2016-08-15 Thread mukesh_verma
oked, however I see the outgoing log after around 15 mins. I think there might be something wrong with the producer camel route. Any HELP is appreciated. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jetty-http-proxy-taking-too-much-of-time-for-large-request-streams-file-upload-tp5786483.html Sent from the Camel - Users mailing list archive at Nabble.com.

Optimizing file Upload to S3 using camel-s3

2016-06-20 Thread Debraj Manna
on(); AmazonS3Client client = new AmazonS3Client(awsCredentials, clientConfiguration); ... jndi.bind("S3Client", client); On profiling the app it seems most of the time SSLSocketImpl.writeRecord (Please check the attached image). Can someone suggest some way in which we can optimize the file

Re: File upload

2013-07-18 Thread jamalissimo
I moved the question to CXF forums and I also added solution http://cxf.547215.n5.nabble.com/Multipart-file-upload-td5730547.html -- View this message in context: http://camel.465427.n5.nabble.com/File-upload-tp5735172p5735840.html Sent from the Camel - Users mailing list archive at

Re: File upload

2013-07-08 Thread Sergey Beryozkin
t/form-data,, Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,, method @Produces : application/json -Br, Roman -- View this message in context: http://camel.465427.n5.nabble.com/File-upload-tp5735172p5735284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File upload

2013-07-08 Thread Sergey Beryozkin
;q=0.8,, method @Produces : application/json -Br, Roman -- View this message in context: http://camel.465427.n5.nabble.com/File-upload-tp5735172p5735284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File upload

2013-07-08 Thread jamalissimo
n/xml;q=0.9,*/*;q=0.8,, method @Produces : application/json -Br, Roman -- View this message in context: http://camel.465427.n5.nabble.com/File-upload-tp5735172p5735284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File upload

2013-07-04 Thread Sergey Beryozkin
Hi On 04/07/13 08:16, jamalissimo wrote: Hello guys, I have working file upload route( http://camel.465427.n5.nabble.com/Send-file-via-POST-request-td5728674.html#a5729109 ). Only problem is that I can send only file which is located at the same server as Karaf. My workflow is like this

File upload

2013-07-03 Thread jamalissimo
Hello guys, I have working file upload route( http://camel.465427.n5.nabble.com/Send-file-via-POST-request-td5728674.html#a5729109 ). Only problem is that I can send only file which is located at the same server as Karaf. My workflow is like this: Server with upload form -> Upload to server w

Re: Apache Camel Jetty Component: File upload request always has empty body

2011-07-13 Thread Claus Ibsen
Hmmm You can try to load the message content right after jetty from jetty convertBodyTo(String.class) This force the content to be loaded into memory as a String. If you need a byte[] then you can possible do convertBodyTo(byte[].class) On Wed, Jul 13, 2011 at 1:56 PM, Parsa Ghaffari wr

Re: Apache Camel Jetty Component: File upload request always has empty body

2011-07-13 Thread Parsa Ghaffari
Well I'm calling context.setStreamCache(true); so I believe that's not the issue. Thanks anyways. On Wed, Jul 13, 2011 at 3:59 PM, Claus Ibsen wrote: > Hi > > On the camel-jetty wiki page there is a notice about stream based > http://camel.apache.org/jetty > > Maybe you hit this issue. > > > On

Re: Apache Camel Jetty Component: File upload request always has empty body

2011-07-13 Thread Claus Ibsen
Hi On the camel-jetty wiki page there is a notice about stream based http://camel.apache.org/jetty Maybe you hit this issue. On Wed, Jul 13, 2011 at 1:24 PM, Parsa Ghaffari wrote: > Hi folks, > > I'm using Akka's Camel module to build an endpoint to handle file uploads. > > The arriving reques

Apache Camel Jetty Component: File upload request always has empty body

2011-07-13 Thread Parsa Ghaffari
Hi folks, I'm using Akka's Camel module to build an endpoint to handle file uploads. The arriving request headers when uploading a file using an html form (withenctype="multipart/form-data") is: CamelHttpUrl -> http://localhost:8080/add, Keep-Alive -> 300, Connection -> keep-alive, Content-Lengt

Re: Create an empty .done file when file upload on a ftp

2010-11-26 Thread Claus Ibsen
Hi I found the old ticket and created a new ticket for the producer side also https://issues.apache.org/activemq/browse/CAMEL-3369 On Fri, Nov 26, 2010 at 1:47 PM, Claus Ibsen wrote: > Hi > > We do have a ticket in JIRA to supports this out of the box as a > configuration on the fil/ftp endpoint

Re: Create an empty .done file when file upload on a ftp

2010-11-26 Thread Claus Ibsen
Hi We do have a ticket in JIRA to supports this out of the box as a configuration on the fil/ftp endpoint. What you can do is to send an empty message to the ftp endpoint after the first file has been uploaded. from(file) .to(ftp) .setBody(constant("")) // set empty body to use for the

Create an empty .done file when file upload on a ftp

2010-11-26 Thread florent andré
Hi all, newbie here ! My usecase is : - upload files on an ftp (file1.txt, file2.txt,...) - for each uploaded file, create an *empty* {fileName}.done file on the ftp server. I try this configuration add some variants, but nothing good from("file:test-files?noop=true"). to("ftp://goodconfig"

Re: Restlet Component File Upload Handling

2009-03-04 Thread William Tam
Apache (httpd) is certainly faster for such static content.  I'm open to > suggestions--especially as to how to better utilize Camel (with or without) > the restlet component to localize authentication, present a RESTful service > interface (with tidy URIs), etc. > > Thanks again, >

Re: Restlet Component File Upload Handling

2009-03-03 Thread tfredrich
ilize Camel (with or without) the restlet component to localize authentication, present a RESTful service interface (with tidy URIs), etc. Thanks again, --Todd Fredrich -- View this message in context: http://www.nabble.com/Restlet-Component-File-Upload-Handling-tp22250082p22319865.html Sent fro

Re: Restlet Component File Upload Handling

2009-02-27 Thread William Tam
e uploading?  I'm not sure how to > configure a Restlet endpoint to use the Restlet FileUploader extension. > Your help is MUCH appreciated. > > Thanks in advance, > --Todd > -- > View this message in context: > http://www.nabble.com/Restlet-Component-File-Upload-Handl

Restlet Component File Upload Handling

2009-02-27 Thread tfredrich
Does the Restlet component handle file uploading? I'm not sure how to configure a Restlet endpoint to use the Restlet FileUploader extension. Your help is MUCH appreciated. Thanks in advance, --Todd -- View this message in context: http://www.nabble.com/Restlet-Component-File-Upload-Han