Help with JMX client to monitor/manage camel routes,processors etc

2012-08-23 Thread dmhatre
Hi Folks, I am trying to build a JMX client to monitor/manage camel routes,processors etc. I can see the mbeans in jconsole but want some remote jmx client to monitor camel. I am able to connect to the mbeanserver but get exception when calling the operations on Mbean NOTE: Running CAMEL as s

Is it possible for file component to NOT to move the file to .camel directory if there is error in the following endpoint of that route.

2012-08-21 Thread dmhatre
Hi Folks, Need help with this issue. Is it possible for file component to NOT to move the file to .camel directory if there is error in the following endpoint of that route. Ex: if error in processor "corpActionProcessor" can we AVOID moving the file from c://cameldata/corpactions to c://cameldat

Is it a good idea to store very large data (100,000 records) in StringBuffer and then write to file using Apache camel's File Component?

2012-07-05 Thread dmhatre
Hi Folks, Is it a good idea to store very large data (100,000 records) in StringBuffer and then write to file using Apache camel's File Component? -- View this message in context: http://camel.465427.n5.nabble.com/Is-it-a-good-idea-to-store-very-large-data-100-000-records-in-StringBuffer-and-t

Re: keep track of JMSMessageID with InOnly exchange

2012-06-15 Thread dmhatre
Hi there, So did you guys found out the way how to implement this. I tried the patch but i get the following error: Also pasting my configuration and java code. Please help. java.lang.UnsupportedOperationException: JMSCC0029: A destination must be specified when sending from this producer.

Help with setting multiple parameters with SQL

2012-06-04 Thread dmhatre
Hi Folks, I am using SQL component and trying to insert a message in database. My route: = I need help setting the parameters from dtccprocessor so that i can just set the body in pr

Need help with Camel + JPA + Atomikos

2012-05-25 Thread dmhatre
Hi Folks, I have successfully integrated transaction manager(Atomikos) with Camel SQL + JMS using SPRING. But I wish to use JPA instead of sql component. I have hooked atomikos with DATASOURCE and JMS. But dont know how to hook atomikos to JPA. I am attaching my source and stacktrace below. Plea

Re: Help with bulk insert using Spring+JPA+hibernate

2012-05-16 Thread dmhatre
Hi Folks, I figured out some workaround for this problem. I dont know whether this is the proper way to do it or is it something that can be enhanced in camel. I went throught the JpaProducer and found out that the expression.evaluate looks for some kind of convertor else picks default conver

Re: Help with bulk insert using Spring+JPA+hibernate

2012-05-16 Thread dmhatre
Thank you Christian and Willem for the reply. I thought of using splitter too but was wondering whether it will take care of all the transaction management(i.e., if one record fails everthing fails) or we have some kind of control with transaction management. And I am pasting the

Re: Help with error while implementing camel jpa

2012-05-16 Thread dmhatre
Hello Christian, Thank you for the reply. I got this working. I am not getting this error no more. But still I am pasting my code snippet so that you can have a look and let me know if this is the right way to do the things OR if its right, some other users who come across this problem can u

Help with bulk insert using Spring+JPA+hibernate

2012-05-15 Thread dmhatre
Hi Folks, Below is the sample route. I am returning ArrayList from processor (can say setting exchange body). Is it possible to insert the list in database instead for inserting it one by one? Kindly help me with this. Thanks in advance. Caused by:

Re: Help with RUNNING simple camel example with spring dsl without using maven

2012-05-07 Thread dmhatre
Thank you everyone for helping. But I already got these working. I just did what Mr.Rocco suggested. Thank you very much! -- View this message in context: http://camel.465427.n5.nabble.com/Help-with-RUNNING-simple-camel-example-with-spring-dsl-without-using-maven-tp5687107p5692407.html Sent from

Re: help with websphere MQ with XA transaction. Sample code below.

2012-03-05 Thread dmhatre
Thank you Claus and Babak for the reply. I am running this as a standalone application (not in java ee server). And I need to implement global transaction using JTA Do I need to use JOTM or Atomikos etc. Also I am using Java DSL instead of spring and all the explanation in the book is using sprin

help with websphere MQ with XA transaction. Sample code below.

2012-03-02 Thread dmhatre
Hi Folks, I am new to Apache camel. And got the JMS websphere MQ with camel. But I am struggling with XA transaction. Can somebody help me and give some leads to implement XA transaction. Below is the code sample which is working(but without XA transaction) The option transacted=true uses JMST