Camel-hbase : scan operation

2014-06-24 Thread A577127
Hello everybody, I'm new to camel. I'm using the camel-hbase component and would like to perform a scan operation and get multiple rows with the producer. However I didn't find a way to do that with camel-hbase. If I create a route this way : I don't get

Re: Camel-hbase : scan operation

2014-06-24 Thread A577127
Ok, I found the answer to my question. For people that might be asking the same, if there are multiple results, the header of the output message will contain all of them in its header with number suffixes (like CamelHBaseValue, CamelHBaseValue2, CamelHBaseValue3...). -- View this message in con

Camel-hbase : problem with qualifier "id"

2014-06-25 Thread A577127
Hello, I'm not sure if this is a bug or an "undocumented" feature so I put this here. When using camel-hbase's producer, if you want to use an HBase qualifier with the value "id", it doesn't work. For example : I have an HBase table "registrations" with a family "token" and a qualifier "id". To

Camel-restlet : multithreading issues + can't trigger answer

2014-07-11 Thread A577127
Hi everyone, I'm using the camel-restlet component and get issues when there are too many connections. I have an HTTP client that creates multiple threads to send HTTP requests. However, I can't put more than 7 threads without getting problems. If I try with more than 7 threads, my camel app logs

Re: Camel-restlet : multithreading issues + can't trigger answer

2014-07-16 Thread A577127
Thanks for the answer. Wiretap works fine to trigger the answer with a basic route. For restlet, I managed to get more threads with : (not sure of the difference with setMinThreads but it does work) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-restlet-multithread

Camel splitter threadpool configuration : messages stuck in queue ?

2014-07-22 Thread A577127
Hi everyone, I'm working with camel to build a server that involves a lot of parallel processing, and some of my messages get stuck somewhere. I will try to explain my problem by explaining what I'm doing. I have this camel route : The idea is that the REST request that triggers the route cont

Re: Camel splitter threadpool configuration : messages stuck in queue ?

2014-07-22 Thread A577127
Thanks for your reply. Uh ok, I put the wrong log4j level and didn't saw all the OutOfMemoryErrors... Using Executors.newFixedThreadPool(1000) looks good. However as you pointed out, I'm looking for the best number of threads. Am I forced to define a static (max) size ? I hoped that the cachedTh

Camel-jdbc : can't get useHeadersAsParameters working properly

2014-07-30 Thread A577127
Hi, I'm trying to send a mysql request thanks to camel-jdbc. However, one of my fields is a byteArray, so I would like to use named parameters to bind some value to a header (which can be a byteArray). According to the camel-jdbc documentation , I should set

Re: Camel-jdbc : can't get useHeadersAsParameters working properly

2014-07-30 Thread A577127
I'm using the latest version (2.13.2). I solved my problem. I replaced this : By this : The application_id (String) is correctly sent to MySQL. I need to check for the certificate (which is byte[]), but I guess it's all good. -- View this message in context: http://camel.465427.n5.nabble.co

Camel-jdbc snapshots -> SQLException

2014-08-11 Thread A577127
Hi, I was trying to perform an SQL request on my MySQL database using camel-jdbc. I'm using a named parameter that I map on my camel message header, so I use the option /useHeadersAsParameters=true/ on my jdbc endpoint. I also have an auto-increment ID on my table and need to retrieve it when I d

Re: Camel-jdbc snapshots -> SQLException

2014-08-12 Thread A577127
With this new version I get the same SQLException, but now I get it with every requests : INSERT with useHeadersAsParameters=true & false, and even SELECT requests. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-jdbc-snapshots-SQLException-tp5755058p5755097.html Sent

Re: Camel-jdbc snapshots -> SQLException

2014-08-12 Thread A577127
I googled my exception and found someone with a similar problem. Someone answered that stuff can work with another jdbc connector and fail with c3p0 because other connectors are less strict. My guess is that it's what happens here, so the issue still comes from camel-jdbc (even if I could solve it

Re: Camel-jdbc snapshots -> SQLException

2014-08-13 Thread A577127
Hi, I just tryed your fix and it works fine. Thank you. However, I have one last problem :camel-jdbc doesn't preserve headers on some INSERT requests. These lines : were moved from JdbcProducer.process to some "deeper" functions, but now it doesn't get called all the time. For instance, if I w

Re: Camel-jdbc snapshots -> SQLException

2014-08-13 Thread A577127
Everything works fine. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-jdbc-snapshots-SQLException-tp5755058p5755158.html Sent from the Camel - Users mailing list archive at Nabble.com.