Re: Dynamically setting initialDelay & delay parameters for File component?

2009-11-11 Thread Claus Ibsen
On Thu, Nov 12, 2009 at 4:18 AM, Allen Lau wrote: > Hi, > > I am using the File2 component with Spring DSL. > > Can not seem to find a good way to externalize the options of the File2 > component that take an "int" like > initialDelay and delay. > > For example, the following will fail. > > uri="

Re: Is this a bug of camel-jms?

2009-11-11 Thread honno
I got it. Thanks ,Ashwin! Ashwin Karpe wrote: > > Hi, > > This is not a bug. The way your DSL has been written seems to desire this > effect of dropping messages on both queues. > > If yo need to move from "jms:in" to "jms:out2" without leaving any > messages on "jms:out1" then you need to wri

Dynamically setting initialDelay & delay parameters for File component?

2009-11-11 Thread Allen Lau
Hi, I am using the File2 component with Spring DSL. Can not seem to find a good way to externalize the options of the File2 component that take an "int" like initialDelay and delay. For example, the following will fail. Any suggestions? Thanks, Allen

Re: HTTPS authentication setup using camel-http

2009-11-11 Thread bwhite
Hi Claus, Yes, this is my first attempt at getting camel-http working with https. Can you verify if this should work in Camel 1.4.0? Thanks! -- View this message in context: http://old.nabble.com/Re%3A-HTTPS-authentication-setup-using-camel-http-tp26190394p26306184.html Sent from the Camel - Us

Interceptors and transactions

2009-11-11 Thread Dragisa Krsmanovic
Do interceptors work with transactions ? If I have transacted turned on, messages don't seem to be re-routed to the interceptor. -- Dragisa Krsmanovic Java Developer Public Library of Science http://www.plos.org ---

Re: Transactions and aggregator

2009-11-11 Thread Claus Ibsen
Hi The aggregator in Camel does not yet support persistence. Its on the roadmap for Camel 2.2. On Wed, Nov 11, 2009 at 5:58 PM, Dragisa Krsmanovic wrote: > I want to do something like this: > > from("activemq:start) >   .transacted() >   .aggregate(new PMCAggregationStrategy()) >   .constant(tr

Transactions and aggregator

2009-11-11 Thread Dragisa Krsmanovic
I want to do something like this: from("activemq:start) .transacted() .aggregate(new PMCAggregationStrategy()) .constant(true) // aggregate everything into one message .completionPredicate(header(FINISH_AGGREGATION).isEqualTo(true)) .to("mock:end"); Since aggregation can take long

Re: Exception handling ... onException

2009-11-11 Thread Claus Ibsen
On Wed, Nov 11, 2009 at 4:59 PM, DRy wrote: > > Hi, > > > Claus Ibsen-2 wrote: >> >> I have committed a fix now. Can you test it on your end? >> svn rev: 834801. >> > > I will test this as soon as possible ... > > We do not use the maven repo. How can I see if this svn rev is in the daily > snapsh

Re: Exception handling ... onException

2009-11-11 Thread DRy
Hi, Claus Ibsen-2 wrote: > > I have committed a fix now. Can you test it on your end? > svn rev: 834801. > I will test this as soon as possible ... We do not use the maven repo. How can I see if this svn rev is in the daily snapshot build ... ? Your message is dated "Nov 11, 2009; 09:33am"

Re: Atom Component

2009-11-11 Thread jpcook
Hi, Just wondered if anyone had read the below? Thanks jpcook wrote: > > Hello, > > I ended up solving this problem with the follow configure method: > > private void configureNewsTrackerByTeamHtml() throws Exception { > > for(String url : urls){

Re: Is this a bug of camel-jms?

2009-11-11 Thread Ashwin Karpe
Hi, This is not a bug. The way your DSL has been written seems to desire this effect of dropping messages on both queues. If yo need to move from "jms:in" to "jms:out2" without leaving any messages on "jms:out1" then you need to write your DSL as from("jms:in").to("jms:out1"); from(jm

Is this a bug of camel-jms?

2009-11-11 Thread honno
hi,i write a DSL route,like this : from("jms:in").to("jms:out1").to("jms:out2"); Then,i send two messages to the queue "in" with activemq5.2,and i receive two messages at queue "out1",and two messages at queue "out2". These messages are: in "out1": ActiveMQTextMessage {commandId = 7, responseRequ

Re: Exception handling ... onException

2009-11-11 Thread Claus Ibsen
On Wed, Nov 11, 2009 at 8:15 AM, DRy wrote: > > Hi, > > > Claus Ibsen-2 wrote: >> >> I had a look and created a ticket to improve/fix this issue >> https://issues.apache.org/activemq/browse/CAMEL-2158 >> >> The current code did stop to eagerly instead of finding better >> candidates longer up the