Camel-QuickFIXJ - Proxool jar dependencies issues

2010-11-18 Thread vcheruvu
Hi, I have configured quickfixj to use jdbc store to persist FIX messages. I have come to know that Proxool dependency jar files are missing in the fuse repository. Is it possible to add the proxool dependencies in Fuse repo? Kind regards, -Vid- -- View this message in context: http://camel

Re: [Aggregator] Persistence ?

2010-11-18 Thread Olivier.Roger
I am still looking but don't understand why the AggregateProcessor do not execute the doStart() method. Is that not the default behavior ? -- View this message in context: http://camel.465427.n5.nabble.com/Aggregator-Persistence-tp2800301p3271088.html Sent from the Camel - Users mailing list ar

Re: [Aggregator] Persistence ?

2010-11-18 Thread Olivier.Roger
By using the debugger, I clearly see that the AgreggateProcessor.doStart() method is not called for my implementation of the repository whereas it is called for hawtDB Aggregation Repository. I think this is the root of my problem. -- View this message in context: http://camel.465427.n5.nabble.

Re: Return of CAMEL-1751? (Tomcat hangs on shutdown)

2010-11-18 Thread Yiannis Mavroukakis
Hi Claus it's already there. 481535 Oct 27 10:56 log4j-1.2.16.jar grep NOPLoggerRepository /usr/local/apache/tomcat/webapps/ermis-deployer-0.14-SNAPSHOT/WEB-INF/lib/* Binary file /usr/local/apache/tomcat/webapps/ermis-deployer-0.14-SNAPSHOT/WEB-INF/lib/log4j-1.2.16.jar matches On 18 November

Re: [Aggregator] Persistence ?

2010-11-18 Thread Olivier.Roger
You are right, I had the source but I was looking at the wrong spot. I have finished adapting the tests to my aggregator repository. All pass except 2 of them that require a recovery for the background task. I do not know why but the doStart() method seems not to be called on my aggregator which

Re: Transaction configuration in Java DSL

2010-11-18 Thread hanson2010
Thanks. I'll continue my investigation... - -- Haisheng HU http://hanson.appspot.com/ -- View this message in context: http://camel.465427.n5.nabble.com/Transaction-configuration-in-Java-DSL-tp3270508p3270852.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Transaction configuration in Java DSL

2010-11-18 Thread Claus Ibsen
On Thu, Nov 18, 2010 at 2:42 PM, hanson2010 wrote: > > Thank you Ibsen for following up my question so quickly, just after a dinner > of me. > > Yes. I have done a test. It can rollback automatically after a failure. But > I still have more confusions: > > 1) So do you mean JmsComponent.jmsCompone

Handling concurrency on quartz timer

2010-11-18 Thread Sri
Hi All, I am using quartz route for triggering job at some intervals (say at every 10 mins). I am doing the business logic in the processor which involves some processing and database operations. this processing sometime takes more than the interval that I am giving cron (ex: cron is every 10 m

Re: ProducerTemplate with Spring and without

2010-11-18 Thread Tarjei Huse
Updating myself instead of anyone else working on this. On 11/18/2010 11:58 AM, Tarjei Huse wrote: > Hi, this is so related that I think it is not thread hijacking. > On 11/18/2010 11:30 AM, Claus Ibsen wrote: >>> @Produce(uri = "direct:start") >>> protected ProducerTemplate template; > What is req

Re: Transaction configuration in Java DSL

2010-11-18 Thread hanson2010
Thank you Ibsen for following up my question so quickly, just after a dinner of me. Yes. I have done a test. It can rollback automatically after a failure. But I still have more confusions: 1) So do you mean JmsComponent.jmsComponentTransacted(...) is the key in my case? I just didn't find a de

Re: ProducerTemplate with Spring and without

2010-11-18 Thread Tarjei Huse
Hi, this is so related that I think it is not thread hijacking. On 11/18/2010 11:30 AM, Claus Ibsen wrote: > > @Produce(uri = "direct:start") > > protected ProducerTemplate template; What is required for Camel to find and add a proxy where this annotation is found? I got a class that is autowired

Re: Return of CAMEL-1751? (Tomcat hangs on shutdown)

2010-11-18 Thread Claus Ibsen
Looks like you need some log4j JARs on your classpath. For example add log4j.jar in the web-inf/lib in your WAR. And make sure it has that class reported below. On Wed, Nov 17, 2010 at 12:09 PM, Yiannis Mavroukakis wrote: > Hello everyone, > > I'm running a Camel instance in a Tomcat, and I see

Re: Transaction configuration in Java DSL

2010-11-18 Thread Claus Ibsen
Transaction is done using Spring Transaction, so you need to configure some spring pieces for this to work. However in your case you are only using JMS you can in fact just configure it to be transacted, and dont use the .transacted() in the route. The JMS will still commit/rollback because it can

Re: ProducerTemplate with Spring and without

2010-11-18 Thread Claus Ibsen
Hi What JDK, OS and runtime container are you using? And what Camel version? I just tried on Camel 2.5 in an unit test and I can set the default endpoint http://camel.apache.org/schema/spring";> @Autowired protected ProducerTemplate template; template.sendBody(body)

Re: Exception caught but not rethrown in DefaultCamelContext.doStartCamel()

2010-11-18 Thread Claus Ibsen
Hi I commit a fix for the NPE in camel-core, trunk: 1036382. It would be nice if you could test that with your issue. On Thu, Nov 18, 2010 at 10:04 AM, Claus Ibsen wrote: > On Thu, Nov 18, 2010 at 8:43 AM, Bengt Rodehav wrote: >> Anyone have an opinion about this? Shall I create a JIRA ticket

Transaction configuration in Java DSL

2010-11-18 Thread hanson2010
What I'm trying to do is moving data from IBM MQ to ActiveMQ, and ensuring no data lost during network failure or something like that. So TRANSACTION comes into my mind. But I can't get it run in Java DSL. (Spring DSL will be okay strangely.) Camel 2.5.0 IBM MQ 7.0.1 ActiveMQ 5.4.1 CamelContext

Re: Global? Errorhandler

2010-11-18 Thread Claus Ibsen
Hi Yeah in the Java DSL the stuff you put in it are "global" for it. It has been like that since Camel 1.0. If you want to extend a base route etc. you can use regular Java for that. For example a base abstract route with the "global" stuff. And then extend that class and add your custom routes.

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-18 Thread Marco Zapletal
Hi Willem, thanks for the solution. For the moment, I had to step back to 2.5/2.2.11, but I will try your fix next week. On 17.11.2010 14:32, Willem Jiang wrote: Hi Marco, I played with your test case and found something interesting, The issue is related to CXF bus initiation. I managed to

Re: TCP with SSL documentation/example?

2010-11-18 Thread wierob
Got it! ... from("netty:tcp://localhost:?sync=true&textline=true&ssl=true&passphrase=#secret&keyStoreFile=key.store&trustStoreFile=trust.store") ... ... ... This works but forces the client to authenticate itsel

Re: Exception caught but not rethrown in DefaultCamelContext.doStartCamel()

2010-11-18 Thread Claus Ibsen
On Thu, Nov 18, 2010 at 8:43 AM, Bengt Rodehav wrote: > Anyone have an opinion about this? Shall I create a JIRA ticket? > This is on purpose as the host container may deny starting/using the lifecycle strategy. For example deny using JMX etc. And Camel will just fallback and continue to book up