Re: State of the camel-cdi component

2016-01-04 Thread Tim Dudgeon
That's great to hear. Roll on 2.17. What was not clear for me was whether it would work (=how to get it to work) in a pure servlet (=jetty, tomcat) environment. Tim On 04/01/2016 18:55, Antonin Stefanutti wrote: Hi Tim, We are actively working on improving the Camel CDI integration for the

Re: JPA consumer reconnection

2016-01-04 Thread SaurabhNayar
Please refer to: http://www.mchange.com/projects/c3p0/index.html#configuring_connection_testing You can use: /idleConnectionTestPeriod preferredTestQuery/ parameters to make the c3p0 connection pool reconnect

Re: State of the camel-cdi component

2016-01-04 Thread Antonin Stefanutti
Hi Tim, We are actively working on improving the Camel CDI integration for the upcoming 2.17.0 release. This is followed-up in https://issues.apache.org/jira/browse/CAMEL-9201. That will be essentially the merging of the work being done in https://github.com/astefanutti/camel-cdi. This will

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2016-01-04 Thread SaurabhNayar
Be aware of the fact that the entity manager that is getting imported is a Spring resource and may not be present in Camel Registry. You may have tough time joining the existing Camel transactions - if you have transactions. Don't know your business requirements - but better to use Camel JPA

Re: State of the camel-cdi component

2016-01-04 Thread Tim Dudgeon
Hi, Was wondering what the latest status was here (read below)? I'm trying to adapt a camel-servlet app to use CDI and it's not clear how to best go about this. Thanks Tim On 11/12/2014 16:07, Charles Moulliard wrote: Hi Jason, I'm working with Antonin on that new camel-cdi. when the code

JPA consumer reconnection

2016-01-04 Thread Patrick Valsecchi
Hi, I'm using camel version 2.16.1 with openjdk 1.7, hibernate 5.0.3 and postgres JDBC 9.4-1205. I have a JPA consumer configured like that: ... JPA is configured like that: And my persistence.xml looks like that:

Re: Camel SMPP - multiples rx and tx sessions

2016-01-04 Thread Van der son nogueira
on route 2 *systemType=producer -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-multiples-rx-and-tx-sessions-tp5775732p5775733.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel SMPP - multiples rx and tx sessions

2016-01-04 Thread Van der son nogueira
Hello guys, i want create multiples rx and tx sessions. rx = 2 tx =2 example routes: from("smpp://smppclient2@192.168.0.94:2775?password=password=3000=5000=consumer") .routeId("mo"). .end(); from("direct://start").routeId("mt")..

Re: Deploying Camel in WebLogic(Cluser)

2016-01-04 Thread Greg Autric
Hi Mahdava, Happy new year to you and to all Camel Users ;-) Camel is a lightweight EIP framework and can run on any application Server as a webapp. here is some doc to run it as a webapp, http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html after that, you have to

RE: Deploying Camel in WebLogic(Cluser)

2016-01-04 Thread madhava pulakanti
Thanks for the reply Greg. -Original Message- From: Greg Autric [mailto:gaut...@redhat.com] Sent: Monday, January 04, 2016 5:25 PM To: users@camel.apache.org Subject: Re: Deploying Camel in WebLogic(Cluser) Hi Mahdava, Happy new year to you and to all Camel Users ;-) Camel is a

Re: Camel SSH no password

2016-01-04 Thread SaurabhNayar
Please send the details for the error. Tough to figure out anything from the details that were mentioned. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SSH-no-password-tp5775592p5775778.html Sent from the Camel - Users mailing list archive at Nabble.com.

Exception from idempotentConsumer not propagating to onException

2016-01-04 Thread siddhesh
Hi All, I have camel route in which I am using idempotentConsumer. I got exceptionhandler added for the route. java.lang.Exception false

Re: JPA consumer reconnection

2016-01-04 Thread Patrick Valsecchi
Nayar, I've configured c3p0 to do all that and the logs at the beginning seems to confirm that, but since the broken connection is still holded, it cannot do anything. Hence this message, I guess: com.mchange.v2.c3p0.impl.NewPooledConnection.handleThrowable [c3p0] A PooledConnection that has

Re: Exception from idempotentConsumer not propagating to onException

2016-01-04 Thread Claus Ibsen
What version of Camel do you use? And have you tried testing it with a newer release? On Tue, Jan 5, 2016 at 4:45 AM, siddhesh wrote: > Hi All, > > I have camel route in which I am using idempotentConsumer. I got > exceptionhandler added for the route. > > >

Re: calling a spring bean inside an OSGI based project

2016-01-04 Thread Greg Autric
hi Meissa, Blueprint configuration uses "almost" the same syntax and behavior than Spring XML. IMHO, I dislike use a mix of spring conf and blueprint conf. Your spring configuration should work w/ few modifications into your blueprint [1]. [1]