Splitter as JavaBean

2009-02-16 Thread pevgen
Hello. How can I write a class-spliiter ? and how can i use this class in my spring config ? I use camel 1.5 (because it's stable release). Thanks Evgeny -- View this message in context: http://www.nabble.com/Splitter-as-JavaBean-tp22034573s22882p22034573.html Sent from the Camel - Users

Re: JavaBean as Splitter

2009-02-16 Thread Claus Ibsen
Hi I created a sample at the wiki page: http://cwiki.apache.org/confluence/display/CAMEL/Splitter On Mon, Feb 16, 2009 at 11:23 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi On Mon, Feb 16, 2009 at 11:11 AM, pevgen pev...@km.ru wrote: Hello. How can I write a class-spliiter ? and how

Re: JavaBean as Splitter

2009-02-16 Thread Claus Ibsen
Hi On Mon, Feb 16, 2009 at 11:11 AM, pevgen pev...@km.ru wrote: Hello. How can I write a class-spliiter ? and how can i use this class in my spring config ? I use camel 1.5 (because it's stable release). Just create a POJO that has a method that returns something the can be iterateable, eg.

Re: Camel as an OSGi service on a JOnAS 5.1.0-M3 Application Server

2009-02-16 Thread Guillaume Renault
Hi Willem, i'll check your work as soon as i can :), and test it, thx. However, i'm not sure i'll be able to do it before the 1.6.0 release. I also saw the CAMEL-1345 report on JIRA. A way to make things become easier for the users could be to provide a Camel service when its bundle is

Re: Camel as an OSGi service on a JOnAS 5.1.0-M3 Application Server

2009-02-16 Thread Guillaume Renault
Hi all, I just provided a test to my Camel service, in a simple OSGi gateway out of a JOnAS environment. You can check it, it may give some ideas. Here svn://svn.forge.objectweb.org/svnroot/jonas/sandbox/camel-jonas5 are the sources to checkout. Guillaume Guillaume Renault a écrit : Hi

Re: Testing using Camel Test or Spring Testing or Guice

2009-02-16 Thread Willem Jiang
I did a quick fix for it . Please check the latest CAMEL 2.0-SNAPSHOT for it :) Willem On Sun, Feb 15, 2009 at 4:24 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Feb 13, 2009 at 11:52 PM, nojonojo n0...@yahoo.com wrote: Let me clarify - I chose a poor message to respond to. It's

Re: How to negate a Predicate?

2009-02-16 Thread Claus Ibsen
Hi I will add a sample to the predicate wiki page http://camel.apache.org/predicate.html But there is a hikup with the apache server right now, so here is part of the source code for an unit test: import static org.apache.camel.builder.PredicateBuilder.not; ... protected RouteBuilder