Re: My camel route not able to handle exception.

2013-09-16 Thread bhaumikananda
Hi, Do you see any wrong usage of Transaction / split. I am realy clueless as this happened to three messages and never again. " org.springframework.dao.DuplicateKeyException " This above part of code has worked for all cases apart from failing thrice. Also not sure whether

Re: My camel route not able to handle exception.

2013-09-16 Thread Willem jiang
As you are using text message , I don't think it's not an issue of stream cache. Maybe you need to check if there is something wrong when persisting the message into the DB. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blog

Re: My camel route not able to handle exception.

2013-09-16 Thread bhaumikananda
Hi Willem Jiang, I am using text message. The connection details are - . . 5 20

Re: My camel route not able to handle exception.

2013-09-16 Thread bhaumikananda
** This incident I observed in my SIT server, and tried to recreate it in my local tomcat instance. But this has never reoccurred. I injected around 1500 messages in the queue while testing in my local tomcat instance, but as I said earlier this never reoccurred. -- View this message in context

Re: My camel route not able to handle exception.

2013-09-15 Thread Willem jiang
Hi, I just want to ask if your RAW message is stream based. From your description I double the raw message was just consumed when it was stored into DB. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (Engli

Re: My camel route not able to handle exception.

2013-09-14 Thread bhaumikananda
My problem with the above route - m using Camel 2.10.3 in my current project. Use case - I have a program which listens to income messages then persists the raw trade message into a DB and split the message into small sections based on some expression. This small sections are then transformed base