Re: How to set endpoint id in Java dsl?

2011-12-19 Thread LNB
Willem.Jiang wrote > > Just one comment, if you are using Camel 2.8.x or trunk, you can do it > without any issue. If you are using the version which is below the > 2.8.x, you can't do it that way. > What is the issue with Camel version below 2.8.x? I'm using 2.7.3. Claus Ibsen-2 wrote > >

Re: Intercept issue - need help

2011-12-19 Thread ebinsingh
Hi Raul, Sorry for asking again. For some reason the processed file is not being moved after being processed (i.e the route just hangs after printing the log "Persisting to Trace to Database"). The interesting this is that the Trace data is created in the database table and the file is actually

Pausing Routes

2011-12-19 Thread Tom Howe
Hi, If we have a route where we are consuming messages and posting to a REST service which occasionally returns 503 when busy, is there a way to pause the route for a while so we don't hammer the busy REST service? We also have other routes in the same Camelcontext that we would not want to pause.

Re: Pausing Routes

2011-12-19 Thread Claus Ibsen
Hi Some routes support suspend/resume. See http://camel.apache.org/lifecycle On Mon, Dec 19, 2011 at 3:59 PM, Tom Howe wrote: > Hi, > > If we have a route where we are consuming messages and posting to a REST > service which occasionally returns 503 when busy, is there a way to pause > the rout

Exception in camel-cxf when soap response contains more than one element...

2011-12-19 Thread will mad
Hi, I have written a simple route that regularly send a soap message using cxf : from("timer:test?period=2&delay=5000").to("bean:systemManagerBean?method=getDevicesSimple"); Here is the operation in my systemManagerBean calling the cxf endpoint : public void getDevicesSimple() { Exchange sen

Re: Intercept issue - need help

2011-12-19 Thread ebinsingh
Looks like the JPA connection does not close after persisting the data in the database. Not sure how to resolve this. Appreciate any help. -- View this message in context: http://camel.465427.n5.nabble.com/Intercept-issue-need-help-tp5080816p5086885.html Sent from the Camel - Users mailing list

Re: Intercept issue - need help

2011-12-19 Thread Raul Kripalani
Hi Ebe, Camel delegates the connection handling to the JPA framework. Your JDBC driver may be using a connection pool or something. All that is handled by the JPA EntityManager, so you may want to look at options to configure the behaviour regarding the connection. As to the file not being moved