Re: camel-jpa and PersistenceException

2017-04-25 Thread jamest
I opened a JIRA an attached a patch CAMEL-11197 I couldn't come up with a way to unit test this change without introducing integration tests with various connection pool providers but I am using this patch in my project already. No more probl

AWS S3 and Minio (or other S3 emulator)

2017-04-25 Thread Mark Nuttall
Does anyone have experience using Camel with an AWS S3 "emulator". I don't currently have access to AWS S3 so i am trying to use Minio (Minio.io) to develop with until I can get the real S3. I have not been successful getting it to work. I have tried creating the AmazonS3Client myself but am runnin

Re: Using Split with JSON File

2017-04-25 Thread andcrow
Does Apache Camel have any component that can perform auditing on a database? Or audit records that will be sent to a web service using a JSON file? -- View this message in context: http://camel.465427.n5.nabble.com/Using-Split-with-JSON-File-tp5797508p5798258.html Sent from the Camel - Users m

Audit Database with Apache Camel

2017-04-25 Thread andcrow
Still in this battle, because the *"WINTER IS COMING"*... lol hehehe Does Apache Camel have any component that can perform auditing on a database? Or audit records that will be sent to a web service using a JSON file? -- View this message in context: http://camel.465427.n5.nabble.com/Audit-Dat

Re: Help diagnosing camel exception

2017-04-25 Thread Ryan T
Sorry it took me so long to get back. I wanted to add some more logging to try to be more complete in defining my problem. Below is the code: Below here is the logs of what I am getting: Error: success: In the error case I am confused to as why it skipped several nodes of the route. I exp

Camel HTTP: I/O exception (java.net.SocketException) caught when processing request: Too many open files

2017-04-25 Thread urwithsumit
Hi, I have a rest API exposed using camel Jetty. The api makes call to another API to fetch some data. Intermittently, we are getting exception "I/O exception (java.net.SocketException) caught when processing request: Too many open files". The number of connections is well below the default Unix uL

Re: Parsing issue with unmarshal and bindy.csv with double quotes and commas in a single field

2017-04-25 Thread Gregor Zurowski
Hi Sadiq, I also believe this is a bug. I ran into the exact same issue recently, but did not have the time to further look into this. It would be great if you could file a bug in JIRA (https://issues.apache.org/jira/browse/CAMEL) and attach a failing unit test with your use case. As a temporar

Using stream resequencer with Custom comparator

2017-04-25 Thread Moshe Recanati
Hi, I'm using stream resequencer with custom comparator. I'm having issue that some of the elements compared return 0 as they are equal in terms of sorting but different in content level. This cause a situation that these elements not pushed to the consumer. I tried to add timestamp to the elements

Unable to convert value org.mybatis.spring.SqlSessionFactoryBean@3de15b24 to type org.apache.ibatis.session.SqlSessionFactory

2017-04-25 Thread imranrazakhan
Hi, I am configuring Apache Camel MyBatis route in Jboss Fuse, but getting error "Unable to convert value org.mybatis.spring.SqlSessionFactoryBean@3de15b24 to type org.apache.ibatis.session.SqlSessionFactory" I verified only camel-mybatis is installed in jboss, it look like it still expecting ol

Re: Audit Database with Apache Camel

2017-04-25 Thread Mark Nuttall
If you use Hibernate (or Spring JPA with Hibernate (as the provider) with Camel there is Hibernate Envers for RDBMS. Spring also provides "auditing" for web calls too. I don't spend any time with anything else so I am not sure but I have not run across anything. On Tue, Apr 25, 2017 at 10:10 AM,

Re: Parsing issue with unmarshal and bindy.csv with double quotes and commas in a single field

2017-04-25 Thread sadiq
Hi Gregor, I'd be happy to do so; however, I have not created a unit test before in order to be able to attach one. Can you share an example and I can try to create it? Thanks! Sadiq -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-issue-with-unmarshal-and-bindy-csv

Re: Camel HTTP: I/O exception (java.net.SocketException) caught when processing request: Too many open files

2017-04-25 Thread Tomohisa Igarashi
Hi, I would increase nofile (ulimit -n) and see if it works. And the first thing I always do after clean install is to put 65535 as a nofile and noproc limit in /etc/security/limits.conf: # I'm on Fedora Thanks, Tomo On 04/26/2017 04:23 AM, urwithsumit wrote: Hi, I have a rest API exposed u

Re: Unable to convert value org.mybatis.spring.SqlSessionFactoryBean@3de15b24 to type org.apache.ibatis.session.SqlSessionFactory

2017-04-25 Thread Tomohisa Igarashi
Hi, You need to ask Red Hat support about Red Hat product. BTW found a related topic http://camel.465427.n5.nabble.com/blueprint-myBatis-transactions-td5764629.html Thanks, Tomo On 04/26/2017 05:51 AM, imranrazakhan wrote: Hi, I am configuring Apache Camel MyBatis route in Jboss Fuse, but g

Spring Remoting with JMS >V2.16 issue with binding to correct method

2017-04-25 Thread Tim Jones
We use Spring remoting with JMS (Camel V2.15.4) to proxy our calls between Swing clients and a Karaf server. From 2.16.x there appears to be an issue with binding to the correct method. This can fairly easily be reproduced by modifying the examples in spring-example-spring-jms and adding an additio