Re: Splitting a collection and writing to files

2011-08-30 Thread Sander Mak
Since you don't specify a unique file name for each output of the split (for example by setting the org.apache.camel.file.name header to a unique name) I suppose the output file is overwritten for each string, ending with the last output? On Tue, Aug 30, 2011 at 9:30 AM, Jan Strube j...@deriva.de

Re: Camel and Hadoop First Try

2011-08-05 Thread Sander Mak
May be I'm missing something, but where do you add your routebuilder to the context? On Thu, Aug 4, 2011 at 8:01 PM, Geoffry Roberts geoffry.robe...@gmail.com wrote: All, This is my first attempt at using camel so I doing something simple.  I want to copy a file from hadoop's hdfs to the

Re: Camel and Hadoop First Try

2011-08-05 Thread Sander Mak
I know how to add the route Claus, thanks :) I was just pointing out that the code from the OP seemed to omit this step... On Fri, Aug 5, 2011 at 10:43 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Aug 5, 2011 at 10:21 AM, Sander Mak sander...@gmail.com wrote: May be I'm missing

Re: Broker shutdown also shuts Camel application down

2011-07-11 Thread Sander Mak
. Although I find that hard to believe... On Mon, Jul 11, 2011 at 10:34 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Mon, Jul 11, 2011 at 10:09 AM, Sander Mak sander...@gmail.com wrote: Hi Claus, Thanks for chiming in. I followed your advice and used Main: http://pastie.org/2195549

Re: Broker shutdown also shuts Camel application down

2011-07-11 Thread Sander Mak
On Mon, Jul 11, 2011 at 2:28 PM, Claus Ibsen claus.ib...@gmail.com wrote: How do you shutdown the AMQ broker? I ctrl-c in the broker console. And why do you want to shutdown the broker, but keep on running Camel? Just to make it clear: the Camel app is running standalone here, not inside the

Re: slow reply for jms component when url contains replyTo

2011-07-08 Thread Sander Mak
Could this be caused by the polling nature of the underlying Spring DefaultMessageListenerContainer class (which has 1 second intervals by default IIRC). However, I don't know how the internals of reply-to work and whether it uses the listenercontainer. Sander On Fri, Jul 8, 2011 at 3:18 AM,

Re: Broker shutdown also shuts Camel application down

2011-07-06 Thread Sander Mak
light on what I might be doing wrong. Thanks! Sander On Tue, Jul 5, 2011 at 8:39 AM, Sander Mak sander...@gmail.com wrote: I just added every bit of exception handling that I could think of to the example: http://pastebin.com/s9nHMihT None of these are triggered by this exception (no additional

Re: Broker shutdown also shuts Camel application down

2011-07-05 Thread Sander Mak
, Jul 5, 2011 at 7:03 AM, Sander Mak sander...@gmail.com wrote: Thanks, I must add that on the application that I encountered this on I do have an errorHandler defined. Will have to play a bit with it to find out why the exception is not caught then. Since the exception is logged at debug level I

Re: Broker shutdown also shuts Camel application down

2011-07-04 Thread Sander Mak
Thanks, I must add that on the application that I encountered this on I do have an errorHandler defined. Will have to play a bit with it to find out why the exception is not caught then. Since the exception is logged at debug level I was under the impression that it is already handled by AMQ or

Unexpected interceptor behavior

2011-06-20 Thread Sander Mak
Hi all, I'm trying to test an onException handler of my route by intercepting a send on the main route and throwing an appropriate exception so that the onException handling is triggered. However, I ran into some unexpected behavior. A simplified testcase reproduces this behavior:

Re: Unexpected interceptor behavior

2011-06-20 Thread Sander Mak
template is not on route. On Mon, Jun 20, 2011 at 4:33 PM, Sander Mak sander...@gmail.com wrote: Hi all, I'm trying to test an onException handler of my route by intercepting a send on the main route and throwing an appropriate exception so that the onException handling  is triggered