Hi,
Sorry for a delay; you've mentioned at CXF users that this all actually
works except that you have to use some hard-coded values.
Can you explain what exactly is hard-coded, are you not able to get the
parameters passed to cxfrs uploadFile method ? I think with cxfrs server
one has to wr
I'm building an Eclipse RCP application - i've created a plug-in which uses
Camel and, more specifically, the camel-ftp component to connect to an FTP
server.
FTP server is vsftpd running on a ubuntu 12.x box with standard config.
running the application from my macosx 10.8.2 machine it connects
Hi,
I will describe what steps I need to do and what I have done. This route
servers as file uploader but not in the right sense of the word. It does not
upload file via stream but I need to send the file as part of post request
What I need to do:
1. Get QueryParams from given url e.g.
http://lo
Thanks Willem for help.
My explaination are sometime to complicate, I will present it differently.
I have a "big" file to process efficiently, for that if I have tried :
Method 1 :
from("file://C:/Temp/camel/input_test/?noop=true")
.split()
.tokenize("\n")
// Busine
Hi,
maybe you can process this by using a bean. Then you can open the stream
at the beginning and close it at the end. I try to show you what I mean:
FileWriterBean fwBean = new FileWriterBean();
public void configure() {
from("file://")
.bean(fwBean, "openFileForProcessing")
.split().tokeniz
Hi,
On 08/03/13 11:07, jamalissimo wrote:
Hi,
I will describe what steps I need to do and what I have done. This route
servers as file uploader but not in the right sense of the word. It does not
upload file via stream but I need to send the file as part of post request
What I need to do:
1.
On 08/03/13 11:56, jamalissimo wrote:
Hi,
yes, exactly. When I add QueryParam ,PathParam or both together, then no
POST is send and file is not uploaded.
That is very strange. I've played with the CXF test where @Multipart
annotations are used, added @PathParam there (actually returning 'null'
Thanks Marco !
It is an idea ! Claused to the Composed Message Processor (
http://camel.apache.org/composed-message-processor.html paragraph Example
using only Splitter).
I am really suprised to have to make a such tips, it looks very complicated
for a simple use case no ?
2013/3/8 Marco Wester
I had planned to do that, but i've spent the past week trying to do this with
no luck unfortunately! :(
I firstly noticed that drools doesn't offer a blueprint namespace handler,
so I can't use any of the spring xml instantiation blocks that it has within
blueprint! :(
I've also tried to expose t
That is the best practice for do it ?
2013/3/8 Jean Francois LE BESCONT
> Thanks Marco !
>
> It is an idea ! Claused to the Composed Message Processor (
> http://camel.apache.org/composed-message-processor.html paragraph Example
> using only Splitter).
>
> I am really suprised to have to make a
the more performante way looks to do :
from("file://C:/Temp/camel/input_test/?noop=true")
.split()
.tokenize("\n")
// Business lock with possible reject / enrich etc ...
.streaming()
On Fri, Mar 8, 2013 at 2:39 PM, jeff wrote:
> the more performante way looks to do :
>
>from("file://C:/Temp/camel/input_test/?noop=true")
> .split()
> .tokenize("\n")
> // Business lock with possible reject / enrich etc ...
>
I wonder if split().shareUnitOfWork() would help here?
On Mar 8, 2013, at 14:02, Claus Ibsen wrote:
> On Fri, Mar 8, 2013 at 2:39 PM, jeff wrote:
>> the more performante way looks to do :
>>
>> from("file://C:/Temp/camel/input_test/?noop=true")
>> .split()
>> .to
On Fri, Mar 8, 2013 at 3:13 PM, Raúl Kripalani wrote:
> I wonder if split().shareUnitOfWork() would help here?
>
Thats related to have all the work appear as one unit, so when you do
error handling / dead letter queue etc. then the entire route rollback
if one of the splitter failed etc.
> On Ma
On Fri, Mar 8, 2013 at 2:39 PM, jeff wrote:
> the more performante way looks to do :
>
>from("file://C:/Temp/camel/input_test/?noop=true")
> .split()
> .tokenize("\n")
> // Business lock with possible reject / enrich etc ...
>
Seems to be related to this:
http://serverfault.com/questions/262760/vsftp-path-with-backslash
Camel, on windows, is telling the ftp server to cd \.
on mac it does something different - i'm assuming it uses a forward slash /.
so a camel-ftp client running on windows (within eclipse RCP, at leas
It seems that the problems sftp & camel are going better but it's not
finished...
I upgraded from 2.10.3 -> 2.10.4 (see
http://camel.465427.n5.nabble.com/Problem-with-donefilename-on-sftp-td5728209.html
)
Some of my problems are corrected, but i've one more :
I have a route who is polling in a sub
Hi
Assume I have the following route:
*from(quartz..).to(...)*
Now, assume I want to call this route out of the quartz schedule. I was
hoping to be able to use the producertemplate. However, it looks like the
quartz endpoint does not have a producer.
Is there any other way I can invoke the abov
OK !
I have create a jira : https://issues.apache.org/jira/browse/CAMEL-6147 (
my first :)
By the way the solution is a route like this :
from("file://C:/Temp/camel/input_test/?noop=true")
.setProperty("OutputFileName" ,
simple("C:/Temp/camel/output_test/${headers.CamelFileName}"))
.split()
.
Hi,
I'm trying to build my own context component as described in
http://camel.apache.org/context.html.
I wonder if there is a base class or interface I can use for
MyContextComponent. I saw there exists org.apache.camel.Component. But
the method createEndpoint() I have to implement does not ma
On Fri, Mar 8, 2013 at 4:10 PM, gilboy wrote:
> Hi
>
> Assume I have the following route:
>
> *from(quartz..).to(...)*
>
> Now, assume I want to call this route out of the quartz schedule. I was
> hoping to be able to use the producertemplate. However, it looks like the
> quartz endpoint does not
It works fine with the simple example that is present but in a seda queue
executed with concurrentConsumers the bean throw an exception due to
concurrency ...
2013/3/8 Jean Francois LE BESCONT
> OK !
>
> I have create a jira : https://issues.apache.org/jira/browse/CAMEL-6147 ( my
> first :)
>
I have added it to manage an pool of stream, it works fine.
public class AEDFileWriter {
private Map fosPool= new HashMap();
public void writeLine(@Body String data, @Property("OutputFileName") String
OutputFileName, @Header("CamelSplitComplete") boolean done) throws
IOException {
// Get the o
Hi guys,
> Puff, sorry. The Jira is https://issues.apache.org/jira/browse/CAMEL-6139
Actually we already got ZipFile component [1], however it supports
only single-entry zip files at the moment.
Instead of creating separated module with zip file splitter I suggest
to add multi-entry zip files su
There is a bug - at least I assume it not desired functionality where if
you have more than one completion of which .completionFromBatchConsumer()
is one of them
if Exchange property CamelBatchSize is 2505 and .completionSize( ) is 1000
you would like batches of
1000 - compeltionSize
1000 - comp
Does Camel support routing an incoming REST request to an external RESTful
service for all http operations.
For example,
Client Submits REST request to server A. Server A uses Camel to route to
appropriate service which resides in Server B.
I would like to to this for all HTTP operations (GET,
Good to know you could figure it out by yourself.
Best,
Christian
Sent from a mobile device
Am 07.03.2013 23:44 schrieb "nil" :
> We finally find the problem which was in our ProtocolEncoder
> implementation.
> In fact, the doDecode was reading just 1024 first bytes in the ByteBuffer
> whereas o
Yes, checkout the jetty and servlet component.
Sent from a mobile device
Am 08.03.2013 13:46 schrieb "ramrubio" :
> Does Camel support routing an incoming REST request to an external RESTful
> service for all http operations.
>
> For example,
>
> Client Submits REST request to server A. Server A
You have to create a new route at runtime to archive this, e.g. in a
processor:
CamelContext context = exchange.getContext();
context.addRoutes(new RouteBuilder() {
public void configure() throws Exception {
from("")
.to("");
}
});
Best,
Christian
Sent from a mobile d
Alan,
I haven't tried drools with camel and blueprint yet, but I do know
that they've made a bunch of osgi enhancements to drools in
6.0-SNAPSHOT. I was thinking of upgrading that camel drools example
(still with spring) to see if I could eliminate more of the uberjar
stuff...
You may want to try
Right, I can see it was getting a new snapshot. Wasn't sure if there was a
way to correlate the numbers. I thought about building the source, but
figured I'd be patient :)
Thabks for the help!
Ryan
On Mar 7, 2013 5:55 AM, "Claus Ibsen" wrote:
> On Sun, Mar 3, 2013 at 2:38 PM, Ryan Moquin
> w
Hello experts,
I have a route consuming from file endpoint and then other routes chained
downstream using direct:.
When I get a particular kind of exception, I want to be able to suspend the
CamelContext (camelContext.suspend). And then be able to resume the Context
from JMX.
Now, what happens
Hi,I am facing same issue with the sftp component. I tried both stepwise true
and false - but it is giving same error. Strangely, I do not get any error
if I do not specify the directory and just read write from logged in user's
home directory. But if I give a nested or single directory it fails wi
I have to develop an application with Apache Camel which will play the role
of a middle-ware between a platform named w-board and 3 Oracle servers. I
have to receive Web Services from the w-board and then send that message to
a server. I have to identify the destination from the id then route the
m
34 matches
Mail list logo