camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Delays and Transactions
Date Fri, 27 Jan 2012 13:02:50 GMT
Hi

Ad 1)
Yes

Ad 2)
Thanks for reporting. I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-4947


On Fri, Jan 27, 2012 at 12:11 PM, Tom Howe <tommytastic@gmail.com> wrote:
> Hi,
> 2 Questions..
>
> 1) If I use asyncDelayed(), do I lose any transactionallity on the
> route (due to crossing threads)?
>
> from("activemq:queue:foo").transacted().delay(1000).asyncDelayed().to("activemq:aDelayedQueue");
>
>
> 2) The spring DSL for setting delay time with <method/> does not
> appear to work. providing any values for ref or method has no effect,
> including invalid ones.
>
> <camel:delay>
>              <camel:method ref="retryDelayCompute" method="computeDelay"/>
>              <camel:to ref="endpoint-submit-in" />
>  </camel:delay>
>
> The message is routed but not delay is applied and computeDelay() is not called.
>
> Advice greatly appreciated.
>
> Thanks, Tom



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message