Re: camel-servlet is no-longer working in 2.16.1 (works in 2.15.3 and 2.16.0)

2016-01-06 Thread henrik
Aki Yoshida-3 wrote: > There was some change introduced by CAMEL-9263 and there was a bug > that calculated the wrong path in some cases. > But this bug shouldn't affect normal servlet scenarios. So, I don't > know why your scenario that runs with 2.16.0 is not running with > 2.16.1. > You may try

RE: Deploying Camel in WebLogic(Cluser)

2016-01-06 Thread madhava pulakanti
Thanks you very much preben for your response:) -Original Message- From: Preben.Asmussen [mailto:p...@dr.dk] Sent: Wednesday, January 06, 2016 12:05 AM To: users@camel.apache.org Subject: RE: Deploying Camel in WebLogic(Cluser) hi Mahdava If you package your camel app. as a war maybee t

Re: calling a spring bean inside an OSGI based project

2016-01-06 Thread Meissa Sakho
Matt, I created the Datasource and the JdbcTemplate in blueprint and it works ! I can get rid off the Spring DM that I used to make all working. Thank you very much (I owe you a beer :-) Meissa 2016-01-06 16:01 GMT+01:00 Matt Sicker : > Can't you just create a JdbcTemplate in blueprint and specif

Re: statement.maxRows not working as expected camel jdbc

2016-01-06 Thread Christian Müller
Hi Felix, I have a unit test which confirms your finding. Could you please open an JIRA and post the ticket number here. I will have a closer look during the next days. As workaround, you could also set the limit in the SQL query. Something like: select * from TBL_DATA_AC LIMIT 2 Best, Christian

Re: statement.maxRows not working as expected camel jdbc

2016-01-06 Thread SaurabhNayar
Thats wired. You can try readSize as well. Regards, Saurabh Nayar -- View this message in context: http://camel.465427.n5.nabble.com/statement-maxRows-not-working-as-expected-camel-jdbc-tp5775898p5775934.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel processor // Handling ArrayList of maps

2016-01-06 Thread CamelNayar
Reji, This is related with the other question that has been posted by you. The problem here is that you are modifying array list in two different threads as I have posted in the other thread. Regards, Saurabh Nayar -- View this message in context: http://camel.465427.n5.nabble.com/Camel-proce

Re: Producer Template // Count mismatch

2016-01-06 Thread CamelNayar
Reji, I am not sure why you are facing the problem but something looks off with the example. You are passing an object "batch" to vm component and clearing the object in next line. vm component is asynchronous - so the object you are trying to pass will clear once you do batch.clear(). Regards,

Problems with camel-jackson 2.16.1

2016-01-06 Thread rcarneiro-cit
Hi everyone! I tried, recently, to update the camel version of a project from 2.15.4 to 2.16.1. Unfortunately, after that, I got an Exception with: "Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.util.BeanUtil.okNameForSetter(Lcom/fasterxml/jackson/databind/introspect/Annot

Re: camel-servlet is no-longer working in 2.16.1 (works in 2.15.3 and 2.16.0)

2016-01-06 Thread henrik
At 2015-11-30 15:14 GMT+01:00 MEL wrote: > I am using the camel-servlet component, in an app hosted in tomcat, to > trigger a route via a URL such as this > > http://localhost:9090/appcontext/triggerimport/ > > When upgrading to 2.16.1 the URL fails to trigger the route; the URL > works > if

statement.maxRows not working as expected camel jdbc

2016-01-06 Thread Felix Thomas
hello, I have an issue (not sure if its a bug) in camel. I have tested in multiple versio*n i.e. 2.15.1,2.16.0,2.16.1 *also but still the same result. I have a route defined below in spring XML . When i start the camel instance it works fine at the first time i.e it fetches only 2 re

Re: calling a spring bean inside an OSGI based project

2016-01-06 Thread Matt Sicker
Can't you just create a JdbcTemplate in blueprint and specify the DataSource for it to use? I didn't think it required using Spring's ApplicationContext or anything. You could also expose it as a service (JdbcOperations). On 6 January 2016 at 02:22, Meissa Sakho wrote: > Henryk, > I did not want

Re: Camel Twitter WebSocket Blueprint example - cert issue in DDF 2.8.1

2016-01-06 Thread Mark
I created a standalone application using Camel 2.14.2. I copied the route from my blueprint file to a camel-context.xml file and everything worked fine. My best guess is that DDF is doing something to override certs, which is preventing the connection to Twitter from working. On Tue, Jan 5, 20

Camel processor // Handling ArrayList of maps

2016-01-06 Thread contactreji
Hi guys I have a processor which is working on a dataset containing Arraylist of Hashmaps which comes in the exchange body. I get following exception. Any clue of why is this happening? I am not even modifying the datastructure :-( Its strange as each time I execute the program, the error happen

Producer Template // Count mismatch

2016-01-06 Thread contactreji
Hi I have a code like this package com.processors import org.apache.camel.Endpoint import org.apache.camel.Exchange import org.apache.camel.ExchangePattern import org.apache.camel.Processor import org.apache.camel.impl.DefaultCamelContext /** * Created by Z001NLH on 12/30/2015. */ class Batc

Re: Camel Shiro Security

2016-01-06 Thread fxthomas
It should work . Or else try with a processor -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Shiro-Security-tp5775078p5775889.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2016-01-06 Thread amitmahesh
So effectively you are suggesting to always use jpa: uri in the camel route for all my database access part, and to avoid injecting entity manager in a camel bean. Means I will have to keep multiple intermediate data processing beans in camel route to generate/consume entity beans data. -- Vie

Re: JPA consumer reconnection

2016-01-06 Thread Patrick Valsecchi
I've tried several connection pools with no success. The problem is that JPA is keeping the connection, I guess. I've solved my problem by switching to the hibernate Camel component and reconnection works fine with C3P0. On Tue, Jan 5, 2016 at 10:06 PM, SaurabhNayar wrote: > That's not good fro

File Component - Implementing onCompletionExceptionHandler for older versions

2016-01-06 Thread calyan.bandi
Hi, Below is the warning that is received due to an exception at any time during processing of a file. This basically does a rollback of the entire file and it starts to read again. WARN thread #0 - [GenericFileOnCompletion] Rollback file strategy: org.apache.camel.component.file.strategy.Generi

Re: Camel raising Exception for continuous MQTT Publishing

2016-01-06 Thread koonsang
I encountered the same problem with the latest Camel 2.16.1. This happened when the network connection is lost when I unplugged the LAN cable. After a few minutes I plugged in the LAN cable again and the program tried to publish some messages to MQTT broker when the Exception is encountered. The

Re: calling a spring bean inside an OSGI based project

2016-01-06 Thread Meissa Sakho
Henryk, I did not want to use Spring. I just needed to call the Spring JdbcTemplate in my OSGI pure blueprint beans. The Spring JdbcTemplate provides database abstraction that we don't have with others camel component (sql,jpa,jdbc). Using Spring DM solves my problem, but that's not want I prefer.