Potential bug in camel jms

2009-12-01 Thread Christian Schneider
Hi, I am using the camel jms component to do soap/jms. I was using the option useMessageIDAsCorrelationID=true. This way Iwanted my client to set the message id as correlation id when doing a request. This worked well. The problem was that when the same jms component was used as a server thi

Re: How to break from routing slip in camel on exception?

2009-12-01 Thread Jon Anstey
The 2.x line has tons of fixes in other areas too so yeah, it would be wise to upgrade. Cheers, Jon On Tue, Dec 1, 2009 at 4:04 PM, murugess wrote: > > I think I am using the older version of camel ( 1.6.1.0) which does not > have > the fix for breaking the routingslip when exception is thrown

Re: How to break from routing slip in camel on exception?

2009-12-01 Thread murugess
I think I am using the older version of camel ( 1.6.1.0) which does not have the fix for breaking the routingslip when exception is thrown by the recipient. I guess I need to upgrade to the latest version. Thanks for the quick fix. janstey wrote: > > FYI I've fixed this on the trunk here >

Re: No camel-clock? How does one test?

2009-12-01 Thread Barry Kaplan
James.Strachan wrote: > > I guess it could be injected via Ioc? Or available on the CamelContext I > guess? > But there is no camel wide IOC in place, is there? I look if the CamelContext is available in the places where the CamelClock is need. (Now if only I didn't have play "find my non-publ

Re: How to break from routing slip in camel on exception?

2009-12-01 Thread Jon Anstey
FYI I've fixed this on the trunk here http://svn.apache.org/viewvc?rev=885876&view=rev On Tue, Dec 1, 2009 at 3:39 PM, Jon Anstey wrote: > Just took a look into this and found that setting the Exception on the > Exchange doesn't really break you out of the routing slip as you want. I'm > gonna f

Re: How to break from routing slip in camel on exception?

2009-12-01 Thread Jon Anstey
Just took a look into this and found that setting the Exception on the Exchange doesn't really break you out of the routing slip as you want. I'm gonna fix that up on the trunk. But, throwing an Exception from a recipient does stop the routing slip. See this test case for an example http://svn.apac

How to break from routing slip in camel on exception?

2009-12-01 Thread murugess
We are using camel binding component, with camel version 1.6.1.0, on servicemix for our project. We are leveraging dynamic routing slip in camel to process our request and are facing issues related to exception handling. We have already defined global errorHandler which handles any exception that

Re: camel - consumer don't get message from activemq queue

2009-12-01 Thread marcin80
Hi, Thanks for your response Ashwin. It works:) Cheers, Marcin -- View this message in context: http://old.nabble.com/camel---consumer-don%27t-get-message-from-activemq-queue-tp26576953p26594234.html Sent from the Camel - Users mailing list archive at Nabble.com.

NullPointerException in FileComponent

2009-12-01 Thread erh
I'm getting errors like this in my application: [2009-12-01 05:53:21,813][WARN][Thread: 2 org.apache.camel.component.file.filecompon...@62681b][camel.impl.scheduledpollconsumer(ScheduledPollConsumer)-run(68)]: An exception occured while polling: Endpoint[file:data/input?consumer.recursive=false&l

Re: performance issues with JMS transacted route...

2009-12-01 Thread boday
thanks Claus, that is exactly what I wanted to hear... here is my setup...any advice would be appreciated... JDK 1.6, ServiceMix 3.3.1, Camel 2.0 (patched the /hotdeploy/servicemix-camel.zip) AMQ 5.2 (persistent, small 1k messages, 250+ msg/second, no XA Tx) Jenks AMQ pool 2.1, Spring 2.5.6 htt

Re: Using Guice with Camel

2009-12-01 Thread mumbly
So I managed to get rid of the error message. I'm not sure if it is possible to make the error message more informative. For example, in a very similar situation, I had an error message when I had a route builder with jms, when I didn't have camel-jms loaded and I got: 1) Failed to resolve endpoi

Re: Camel: Graphical development tool for complex processors.

2009-12-01 Thread Claus Ibsen
On Tue, Dec 1, 2009 at 4:06 PM, titexe wrote: > > Hello, > > it'is possible to know, if exist any graphical tool for developing complex > processor ? > See the FUSE Integration Designer http://fusesource.com/products/fuse-integration-designer/ Version 1.3 will support Camel 2.x out of the box wi

Camel: Graphical development tool for complex processors.

2009-12-01 Thread titexe
Hello, it'is possible to know, if exist any graphical tool for developing complex processor ? What you recommend for me to use? there's someone using Talend to develop these processors? Thank you in advance Best regards -- View this message in context: http://old.nabble.com/Camel%3A-Graphic

Re: No camel-clock? How does one test?

2009-12-01 Thread James Strachan
2009/12/1 Barry Kaplan : > Looking thru 2.1, there really aren't too many places where System.* time > methods are used. Would Camel be interesting in patch that provides a clock > abstraction (with just the two System.* time methods) where the default > implementation would be System.*? Sounds go

Re: No camel-clock? How does one test?

2009-12-01 Thread Hadrian Zbarcea
There are two abstractions of a clock. One is the camel-timer, the other one camel-quartz. The model is not as sophisticated as the Drools one, and I wonder if it should be. It sounds interesting though. If you host camel in servicemix (which we recommend) there is a servicemix-drools comp

Re: performance issues with JMS transacted route...

2009-12-01 Thread Claus Ibsen
Hi Also which version of spring are you using? spring-jms is not really performing well until late 2.5.x versions. There is a bit snippet about caching and spring issues at http://camel.apache.org/jms.html And if using AMQ it has a ton of tuning parameters. prefretch buffer need to be adjusted t

Re: performance issues with JMS transacted route...

2009-12-01 Thread Claus Ibsen
Hi You need to post more details about your JMS and TX setup. Which TX manager are you using? Do you use XA or not. And the JMS broker I assume its AMQ but if not what is it? BTW: The xpath thingy should be faster in 2.1 as we have removed a hotspot which let it perform much better under concurre

Re: CXF - camel CXF

2009-12-01 Thread Willem Jiang
It should work, but you need to some additional work. As cxfrs producer uses the HttpClient API by default, it is different with the camel-cxf's client API, so you need to find some way to deal with the REST response object issue which you shows in CAMEL-2239. In camel-example-cxf , we have a

Re: CXF - camel CXF

2009-12-01 Thread Charles Moulliard
Hi Willem, To come back to REST implementation between Camel - CXF, can you tell me why we cannot do the same thing (RESTfull services) that we can do for CXF web service ? Here is the camel route that I use in my camel osgi tutorial (part2) web