jxpathExpression class type

2012-04-02 Thread kapoor
Hi I am new to camel. I am trying to create a instance of jxpathexpression and Sqlexpression (in which the predicate interface is implemeted). jxpathexpression jxpath = new jxpathexpression(String expression, Class type); jxpathexpression constructor has two arguments one for expression and ano

Re: [CONF] Apache Camel > JSON

2012-04-02 Thread Claus Ibsen
Hi Richard Remember to add a note in the documentation that this is available as of Camel 2.10. On Mon, Apr 2, 2012 at 10:12 PM, wrote: >JSON Page * > edited* by Richard > Kettelerij

Re: [jira] [Commented] (CAMEL-3776) Add pooling support for JAXB data format

2012-04-02 Thread Johan Edstrom
I have implemented this for other things, you really need to pool the marshallers/unmarshallers in an Object Pool or something similar. One way was to override and extend / override the whole context. On Apr 2, 2012, at 3:07 PM, Christian Müller (Commented) (JIRA) wrote: > >[ > https://i

Re: way to implement usecase

2012-04-02 Thread Christian Müller
I suggest something like this: from("direct:start") .filter(new Predicate() { @Override public boolean matches(Exchange exchange) { String text = exchange.getIn().getHeader("mySpecialXPathHeader", String.class); return new XPathExpres

Re: Using Eclipse (STS) for building Camel

2012-04-02 Thread Hadrian Zbarcea
The M2E plugin is also very slow, I am not happy with it for larger projects, but I use it with small projects. Here's what I do for Camel builds: mvn clean install -Dfastinstall mvn -Psetup.eclipse in Eclipse: File -> Import... -> General/Existing Projects into Workspace I hope this helps, H

Re: Using Eclipse (STS) for building Camel

2012-04-02 Thread Christian Schneider
Try this version: http://m2eclipse.sonatype.org/sites/m2e/0.12.1.20110112-1712/ I use it and it works with camel. Christian Am 02.04.2012 13:19, schrieb Magnus Palmér: Well, the built in Maven support is "M2E - Maven Integration for Eclipse" (formerly the m2eclipse plugin). That is what is not

Re: Using Eclipse (STS) for building Camel

2012-04-02 Thread Magnus Palmér
Well, the built in Maven support is "M2E - Maven Integration for Eclipse" (formerly the m2eclipse plugin). That is what is not working out-of-the-box due to "M2E plugin executions not covered". Since I can't get started with all things at once, I'll settle with the mvn eclipse:eclipse for now. De

way to implement usecase

2012-04-02 Thread Samruben
Hi I am new to camel. I have a use case, I need some suggestions and best way to implement it. I have some data in database which has some header values as jxpath expression. I need to validate it using filter. eg: jxpath //books/value>600 But in camel, the filter always comes with camel c

way to implement usecase

2012-04-02 Thread Samruben
Hi I am new to camel. I have a use case, I need some suggestions and best way to implement it. I have some data in database which has some header values as jxpath expression. I need to validate it using filter. eg: jxpath //books/value>600 But in camel, the filter always comes with camel c

Re: Using Eclipse (STS) for building Camel

2012-04-02 Thread Claus Ibsen
Eclipse 3.7 has built-in maven support now. So you can just import -> maven -> existing maven project 2012/4/2 Magnus Palmér : > Dear all, > > I am new to the dev-list and the reason for that is because I will from now > on not only use Camel but also try to contribute every now and then. > To ge

Re: Using Eclipse (STS) for building Camel

2012-04-02 Thread Christian Schneider
The easiest way is to use the old version of m2e. The new version by default supports non of the maven build plugins which makes it really suck in my opinion. I just checked their website and they removed the link to the archive. So I guess that m2eclipse is now not usable for camel anymore.

Using Eclipse (STS) for building Camel

2012-04-02 Thread Magnus Palmér
Dear all, I am new to the dev-list and the reason for that is because I will from now on not only use Camel but also try to contribute every now and then. To gete started I created a JIRA ticket the other day for the Bindy-component that I will now extend the current insufficient test-case for tab