Re: How to set decrypted db password for camel quartz component

2015-03-23 Thread richardgroote
Hello, I'am not sure if this is possible on the QuartzComponent by default. But you could override the quartzcomponent it self and override the method createSchedulerFactory. Kind regards, Richard -- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-decrypted-db-pass

blueprint + myBatis + transactions

2015-03-23 Thread alapaka
Hi all; I am using ServiceMix 5.1.1 with its default Camel version 2.13.2; Mybatis-spring 1.2.2 I am trying to implement transactional DB access using MyBatis and blueprint. I have followed the directions in the camel documentation (http://camel.apache.org/mybatis.html). I'm stuck with the follo

Re: StackOverflowException for route (using cxf component) sending to soap endpoint

2015-03-23 Thread dermoritz
Thanks for the hints, you are right here are the cxf part/ to-part of route: rtdmProcess.to(rtdmEndpoint).to(tpLoggerToRtdm).process(handleRtdmAnswer).to(tpLoggerFromRtdm) rtdmEndpoint is cxf it is created this way: CxfEndpoint endpoint = new CxfEndpoint(rtdmUrl, new CxfComponent(c

Problems with Spring and Camel 2.15.0

2015-03-23 Thread scottj
hello, I wanted to upgrade from Camel 2.14.2 to 2.15.0, but I get the following errors using Spring 4.0.9.RELEASE. Any suggestions what has gone wrong? mar 23, 2015 10:03:06 AM org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath mar

Re: Possibility of jdbc component when performing a select to return a map

2015-03-23 Thread Antoine DESSAIGNE
Hi Angelo, First in groovy you don't need to explicitly call the 'get' method on Maps. Second, you'll have to use the exchange in order to access properties in groovy. Here what you need to do : request.body[exchange.properties['currentCode']] Have a nice day, Antoine. 2015-03-17 16:53 GMT+01:

Re: automatically restarting route (from + activemq)?

2015-03-23 Thread agentalpha
Did anyone found the solution to this problem? I'm facing the same issue for topic as well as certain queue consumers if the activemq is restarted. I keep getting session is closed error and the routes don't work properly until I restart the application (karaf). Please guide if you have found the s

Re: Http Component Post Parameters

2015-03-23 Thread Willem Jiang
What’s kind of error did you get? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 20, 2015 at 8:40:48 PM, pilgrim08 (john.al...@libertymutual.com) wrote: >

Re: Http Component Post Parameters

2015-03-23 Thread pilgrim08
The web service I am calling is returning an xml response that contains nullPointerException. This is because the service is unable to obtain the POST parameters from the request and is getting a null pointer. I was able to successfully call the service using a standard java.net.URLConnection but

Re: Http Component Post Parameters

2015-03-23 Thread Willem Jiang
I just did a quick test by using the ProduceTemplate just like this: String out = template.requestBodyAndHeader("http://localhost:"; + port1 + "/parameter", "request=PostParameter&others=blogs", Exchange.CONTENT_TYPE, "application/x-www-form-urlencoded", String.class); The Post message can be s

Camel RestConfiguration bindingMode

2015-03-23 Thread ddewaele
I have a Camel REST component that I use to process a JSON message when a clients POSTs a JSON string. The idea is that the conversion to a POJO is handled by the Camel / REST component. This is how my route is configured : This was working fine at some point but all of a sudden I started gettin

Re: Authorization with Camel REST DSL?

2015-03-23 Thread Willem Jiang
How about implementing the  AuthorizationPolicy instead of RoutePolicy? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 21, 2015 at 10:33:15 PM, Ed Welch (

Re: Camel XML-JSON marshalling : camel-xmljson dataFormat

2015-03-23 Thread Willem Jiang
It looks camel has some trouble to remove the root element, maybe you need to find other way to process the XML first. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: How to set decrypted db password for camel quartz component

2015-03-23 Thread Willem Jiang
It should be easy to use EncryptableProperties[1] to decrypt the password and you can setup the properties instance to QuartzComponent directly. [1]http://www.jasypt.org/encrypting-configuration.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.co

Re: blueprint + myBatis + transactions

2015-03-23 Thread Willem Jiang
I don’t think camel-mybatis supports Mybatis-spring 1.2.2 as it uses mybatis 3.2.8 which uses the org.apache.iabtis package. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁

No consumers available on endpoint issue

2015-03-23 Thread Kemal Bayram
Hi, I have two camel contexts that have a routing between them via direct-vm: Context 1: destination Context 2: name(/*) direct:${property.destination}

Re: StackOverflowException for route (using cxf component) sending to soap endpoint

2015-03-23 Thread Willem Jiang
Are you sending 1000 requests per file? Maybe you can consider to disable the error handler processing if there are too much errors are thrown. Camel cannot get the stack size, but it should be able to get the inflight exchange size from the management consoler, but I don’t think it helps you to

HDFS2 Component and NORMAL_FILE type

2015-03-23 Thread Sorokin, Alexey
Hi, all! I'm looking at ways to use hdfs2 component to read files stored in a Hadoop directory. As a quite new Hadoop user I assume that simplest way is when data is stored in normal file format. I was looking at code in 'org.apache.camel.component.hdfs2.HdfsFileType#NORMAL_FILE' class that is re

camel elasticsearch component

2015-03-23 Thread Akram
The INDEX operation of elasticsearch component in camel 2.15.0 is not behaving as expected. It is not inserting the data in the mentioned IndexType. It is creating its own indexType with the same name as indexname -- View this message in context: http://camel.465427.n5.nabble.com/camel-elastics

Re: camel elasticsearch component

2015-03-23 Thread Akram
Thanks a lot for quick reply -- View this message in context: http://camel.465427.n5.nabble.com/camel-elasticsearch-component-tp5764483p5764663.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: No consumers available on endpoint issue

2015-03-23 Thread Antoine DESSAIGNE
Hi Kemal, When your endpoint is defined as 'direct-vm' you always need to use 'direct-vm' for accessing it, even in the same context. Using 'direct' won't work in this case. Antoine. 2015-03-23 15:05 GMT+01:00 Kemal Bayram : > Hi, > I have two camel contexts that have a routing between them via

Re: blueprint + myBatis + transactions

2015-03-23 Thread alapaka
Hi Willem; thanks for that - I will look into that. The documentation is clear on this, so if you are indeed right, the documentation needs to be corrected: http://camel.apache.org/mybatis.html wrote > A mybatis-spring SqlSessionFactoryBean then wraps that same DataSource: > class="org.mybatis.

Re: blueprint + myBatis + transactions

2015-03-23 Thread alapaka
Has anyone successfully used the mybatis component in a transaction? -- View this message in context: http://camel.465427.n5.nabble.com/blueprint-myBatis-transactions-tp5764629p5764668.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel xmljson - Streaming

2015-03-23 Thread contactreji
Hi I have an issue with the large json and xml file size while doing a json->xml unmarshalling with camel-xmljson dataformat. Is there a way I can increase the performance as its killing the system. The incoming file contains about 15 mb of json text data. Is streaming an option? Regards Reji

SFTP connection issue with private key

2015-03-23 Thread lye
Hi, Claus, Willem, and Camel friends, I am writing a camel route that connects to, logs into and polls files from a SFTP location with private key file. But when the application was deployed to server and ran for the first time, it threw the following the exception below. But when the app ran agai

Re: Camel-Restlet 2.15.0 setting up SSL

2015-03-23 Thread sandp
Created Ticket https://issues.apache.org/jira/browse/CAMEL-8535?jql=project%20%3D%20CAMEL%20AND%20created%3E%3D-1w%20ORDER%20BY%20created%20DESC -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Restlet-2-15-0-setting-up-SSL-tp5764552p5764666.html Sent from the Camel -