Re: Throttler mock endpoint question

2010-04-11 Thread Claus Ibsen
Hi You could just let it route to the mock endpoint. And then afterwards check at what time they arrived at the mock endpoint, to see if there is at most 7 within a second. And btw I think we should add a header to the mock endpoint which records the arrival time. For now you have to do that

Re: Throttler mock endpoint question

2010-04-11 Thread Claus Ibsen
Hi I have created ticket https://issues.apache.org/activemq/browse/CAMEL-2630 You can comment any ideas you may have to improve the mock to better support your use case On Sat, Apr 10, 2010 at 8:35 PM, Pavel pag...@gmail.com wrote: Hi, I'm fine with +/- 10%, but perhaps with my massive

Re: Null parameters when routing CXFRS endpoints

2010-04-11 Thread jejmaster
I think you can't have more than 1 resource class to create a right proxy as i have investigated the code and CxfRsEndpoint only sets the first resourceClasss upon setting up of JAXRSClientFactoryBean Here: protected void setupJAXRSClientFactoryBean(JAXRSClientFactoryBean cfb) {

Re: Restlet url encoding post data?

2010-04-11 Thread Bee1000
I'd be happy to contribute a fix. Let me take a closer look at it to see if there was a good reason for the encoding. I think it should do something similar to the http component, which allows you to set the content type for posts. Claus Ibsen-2 wrote: Hi We love contributions. So if

JMS Transport for a CXF Rest Webservice... Is it possible using Camel?

2010-04-11 Thread Irshad Buchh
Hi, I have been successful in exposing a SOAP based CXF webservice using JMS. Is it possible to do the same for a Rest based CXF Webservice? Can someone provide a working spring file snapshot? jaxws:endpoint id=jaxwsBlogServiceJms implementor=#blogWebService

Recommended CSV component?

2010-04-11 Thread Bee1000
What is the best component to use for producing CSV (actually || separated) files? Is it bindy or flatpack? I had to add some features to the underlying commons CSV library for the CSV component in order to meet my needs. Namely, I added the ability to specify a String for the file field

need help with interceptor in camel 1.6.2 using custom predicate

2010-04-11 Thread Jesse Sanford
I am trying to intercept an exchange using a custom predicate and I am having trouble re-routing the exchange or even simply stoping it. Here is my routebuilder: public class commentRoute extends RouteBuilder{ @Override public void configure(){

Re: JMS Transport for a CXF Rest Webservice... Is it possible using Camel?

2010-04-11 Thread Christian Schneider
Does it make sense to use anything other than HTTP for rest? Rest depends on HTTP commands like GET, PUT, POST. These are not available in JMS. Can you explain what you want to achieve? Greetings Christian Am 11.04.2010 18:02, schrieb Irshad Buchh: Hi, I have been successful in exposing a

Re: Restlet url encoding post data?

2010-04-11 Thread William Tam
Have you tried setting the Content-Type header (to application/json) in your request Camel message? It looks like DefaultRestletBinding.populateRestletRequestFromExchange() method will add the header to the Form. If it does not work, any chance you are create a Jira with a testcase? A patch

camel-example-etl and ant won't run

2010-04-11 Thread kerryland
Hi Folks, I've found a couple of problems with camel-example-etl, at least with ant. Once I've downloaded dependencies and set environment variables the build fails with:

Re: need help with interceptor in camel 1.6.2 using custom predicate

2010-04-11 Thread Claus Ibsen
Hi Jesse btw thanks for the kudo. The interceptors in Camel 1.x is not working super duper. And hence why they have been overhauled in the 2.0 onwards, which would allow you to do what you want. I suggest to search in the camel-core src/test/java directory for any intercept unit tests and see