Re: How to negate a Predicate?

2009-02-17 Thread Claus Ibsen
Hi All that generics fuss is fixed in Camel 2.0 as part of our API cleanup. Glad its working for you and the route is easier to read. On Wed, Feb 18, 2009 at 2:54 AM, Trevv <4...@safe-mail.net> wrote: > > Thanks Claus, that's a good idea. Using "import static" makes the usage of > PredicateBui

Re: Redeliver to end of Endpoint/Queue?

2009-02-17 Thread efender
After thinking about this some more, what I'd really like is to be able to consume a message at some time in the future. If an exception occurs during processing, instead of the processing thread sleeping for the delay period, the message should be re-delivered with something like a consume_time

Re: How to negate a Predicate?

2009-02-17 Thread Trevv
Thanks Claus, that's a good idea. Using "import static" makes the usage of PredicateBuilder.not much easier to read. When I use your code as-is, I get these warnings: Type safety: Unchecked invocation not(Predicate) of the generic method not(Predicate) of type PredicateBuilder > > Type safety

[ANN] Apache Camel 1.6.0 Release

2009-02-17 Thread Hadrian Zbarcea
The Camel team is pleased to announce the release of Apache Camel [1], version 1.6.0. This version features 169 issues fixed including: - two new components (freemarker and restlet) - numerous fixes in camel components (http, jetty, mina, ftp, etc) - DLC additions and improvements - improved te

Redeliver to end of Endpoint/Queue?

2009-02-17 Thread efender
Is it possible to have an exchange/message that threw an exception during processing be redelivered to the end of the queue instead of staying at the front of the queue and holding up all messages that are behind it? Some sort of interceptor or callback or customization to DeadLetterChannel? I'm

Camel event handling code

2009-02-17 Thread Stephen J
I have written some code to add event handling to camel. From what I've read on the forums and a number of the JIRA tickets there seems to be a need for some type of event handling built into camel. If someone who is familiar with camel internals would take this code for a spin and see if the i

Re: Interceptor / stop / xml configuration file

2009-02-17 Thread Claus Ibsen
Hi You should only use the intercept tag, and then route to whatever you want to do > > > > > > > > > But you can also route to a POJO and do what you like so you dont have to implement any Camel interfaces. >

Interceptor / stop / xml configuration file

2009-02-17 Thread mta38
Hi all, I want to use interceptor in my route. But I think I may do something wrong Here is my code … other routes … My class CheckMessageValidation extends DelegateProcessor. The process method only adds

Re: RMI Component in camel

2009-02-17 Thread Claus Ibsen
Hi You can check out the unit test source code http://svn.apache.org/viewvc/camel/trunk/components/camel-rmi/ I guess the rmi wiki page could use an update. http://camel.apache.org/rmi.html If you get it working and feel like it, we would love feedback/countributions on this RMI component http:/

RMI Component in camel

2009-02-17 Thread Nivetha Shri
Hi All Can someone tell me how to use RMI component in Camel? It is given tat we can hit the rmi service as follows.. from(inputEndPoint).to("rmi://localhost:1099/foo") I have bound the service as follows MyImpl obj = new MyImpl (); Naming.rebind("//localhost:1099/foo", obj); Usually, in a norm