Re: Custom Predicates definition in Spring XML

2010-11-13 Thread rxm0203
camel.465427.n5.nabble.com/Custom-Predicates-definition-in-Spring-XML-tp3256012p3263845.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Custom Predicates definition in Spring XML

2010-11-10 Thread Christian Müller
Hello Ray! I build a small example and it works. If you like, I can send you my example Eclipse project. {code:title=MyPredicate.java} public class MyPredicate implements Predicate { public boolean matches(Exchange exchange) { return true; } } {code} {code:title=MyBean} public c

Re: Custom Predicates definition in Spring XML

2010-11-09 Thread rxm0203
umentationProcessor.java:67) at org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:53) at org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:82) Thanks, Ray -- View this message in context: http://camel.465427.n5.nabble.com/Custom-Predicates-definition-in-Spring-X

Re: Custom Predicates definition in Spring XML

2010-11-08 Thread Claus Ibsen
JMS/ActiveMQ you need to enable transacted=true on the JMS connection factory. There is a free excerpt of the Camel book chapter 9 here, which covers transactions with Camel http://fusesource.com/fuse/apache-books/ > Thanks, > > Ray > > -- > View this message in context: >

Custom Predicates definition in Spring XML

2010-11-08 Thread rxm0203
If it is incorrect, what is correct syntax? Can I make route transactional with following syntax? http://camel.apache.org/schema/spring";> Thanks, Ray -- View this message in context: http://camel.465427.n5.nabble.com/Custom-Predicates-definition-in-Spring-XML-tp3256