Re: Update mongoDb objects from blueprint xml routes

2014-11-12 Thread Henryk Konsek
Hi, Is it possibile to update MongoDb Objects from a route defined in a blueprint XML file? Sure it is :) . I cannot find an example of creating a ListDBObject without java code. Yeah, the route itself can be defined in XML, but the body you send into that route may require something more

Re: Problem with REST DSL (2.14.0) and String bean

2014-11-12 Thread Vaïsse-Lesteven Arthur
Hi Claus, Firstly, thank for your answer. I currently use Maven to manage dependencies, and I do not specify different versions of Apache Camel nor in the POM nor in the dependency tree. As you suggested it, I double checked it again. But, because human beings are fallible, I link you the maven

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-12 Thread Gonzalo Vasquez
Hi, I'm using 2.14.0, as I haven't been able to find a newer with Maven, is there a special repository for snapshots? On Wednesday, November 12, 2014, Willem Jiang willem.ji...@gmail.com wrote: Hi Which version of Camel are you using? I cannot reproduce the error with Apache Camel master

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-12 Thread Aniruddha
I can;t modify the wsdl to configure http client since its external service and i am calling that service. I also tried using camel-jetty and camel-http which have proxyHost,proxyPort proerpties set but they return me 503 http error code even though the target service is up and running.

Re: Multipart form data and servlet/restlet endpoint

2014-11-12 Thread navaltiger
Hi, With Jetty based consumer it worked but no luck with servlet. I am executing this package as jetty:run public void configure() throws Exception { // getContext().getProperties().put(CamelJettyTempDir, target); // Jetty://http works file //

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-12 Thread Willem Jiang
Here are some information about it. If you can still reproduce the error, you can create a JIRA[2] and submit a small test case for it. [1]http://camel.apache.org/maven-2-snapshot-repository-in-pom.html [2]http://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web:

Error while deploying camel proxy in tomcat

2014-11-12 Thread Royamit
Hi, I have created a proxy webservice which i have hosted on tomcat. Also i am monitoring the camel-config.xml for any changes. If there is any change in camel-config.xml, tomcat tries to redeploy the proxy service war. But while redploying i get the following error : -

HalfOpen state implementation in CircuitBreaker

2014-11-12 Thread Matteo Pavesi
Hi all, I would like to propose to implement the half open state as described in this diagram: http://martinfowler.com/bliki/images/circuitBreaker/state.png. When the halfOpenAfter timeout is reached, the circuitBreaker change into a HALF_OPEN state. If the next exchange is successful, the

Message router pattern : is this the best way to solve thousands of filter problem ?

2014-11-12 Thread Chris K
Hi all, I'm writing an application that aggregate data from various sources. Data item comes with many attributes. Users interested with the data can create filters, to filter data based on data attributes Example : data1 = { 'first_name':'Jimmy', 'last_name':'kurnia', 'title':'engineer',

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-12 Thread Gonzalo Vasquez
Willem, Switching to 2.15-SNAPSHOT made my day, as it provides support for the parentXpath parameter in the xmlsecurity endpoint. Although documentation is not correct as it says that the parentXpath has a String argument, it's not correct, as it expects a

Re: Problem with REST DSL (2.14.0) and String bean

2014-11-12 Thread Taariq Levack
Hi Looks like camel-Jackson and camel-jaxb have different jaxb-api versions, 2.2 and 2.2.7 Try excluding jaxb-api from one of them. Taariq On 12 Nov 2014, at 10:52, Vaïsse-Lesteven Arthur arthurvai...@yahoo.fr wrote: Hi Claus, Firstly, thank for your answer. I currently use Maven to

Re: camel-leveldb : U​n​a​b​l​e​ ​t​o​ ​c​o​n​f​i​r​m​ ​e​x​c​h​a​n​g​e​I​d

2014-11-12 Thread Claus Ibsen
Hi How have you configured camel-leveldb? I wonder for example if its you set sync=false, and then the confirm cannot find it as it was not flushed to disk, or something? On Tue, Nov 11, 2014 at 1:58 PM, weebl we...@weebl.me wrote: Using Camel 2.13.2, I get the same warning, not sure why it

Re: Strange issue with JDBC add Postgres

2014-11-12 Thread Claus Ibsen
There is a resetAutoCommit option, you can try set that to false On Mon, Nov 10, 2014 at 1:54 PM, Tim Dudgeon tdudgeon...@gmail.com wrote: I dug a bit deeper here and I think that Camel is doing something with the connection, possibly related to autoCommit. I worked around the problem by

Re: Strange issue with JDBC add Postgres

2014-11-12 Thread Tim Dudgeon
I already did. Described here: http://camel.465427.n5.nabble.com/Strange-issue-with-JDBC-add-Postgres-tp5758548p5758657.html Tim On 12/11/2014 19:26, Claus Ibsen wrote: There is a resetAutoCommit option, you can try set that to false On Mon, Nov 10, 2014 at 1:54 PM, Tim Dudgeon

XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-12 Thread Gonzalo Vasquez
Dear list members,Can you please provide me hints on how to improve my current keyAccesor to achieve adding the KeyValue node in the KeyInfo element?Regarding the base64 encoded parts, how can I force the linebreaks to avoid never-ending lines?I'm also missing a Reference element in the

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-12 Thread Aniruddha
Hi camel experts, could you pls help with this problem? On Wed, Nov 12, 2014 at 9:26 PM, Aniruddha [via Camel] ml-node+s465427n5758975...@n5.nabble.com wrote: I can;t modify the wsdl to configure http client since its external service and i am calling that service. I also tried using

Re: CXF webservice deployment on glassfish

2014-11-12 Thread sab12in
Hi, I have cxf-rt-transports-http-3.01.jar in my in my war file WEB-INF.lib. I dont have cxf-rt-http.jar, do you mean the same, if no then what is the maven depandancy for cxf-rt-http.jar. Thanks and Regards, Sabyasachi -- View this message in context:

Re: HalfOpen state implementation in CircuitBreaker

2014-11-12 Thread Willem Jiang
I will take care of it today. -- 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 November 12, 2014 at 8:08:37 PM, Matteo Pavesi (pavesi.mat...@gmail.com) wrote:

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-12 Thread Willem Jiang
10.1.107.71 is an internal network address, are you sure you need to use proxy to access it? -- 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 November 12, 2014

Re: CXF webservice deployment on glassfish

2014-11-12 Thread Willem Jiang
Yeah, it should be cxf-rt-transports-http, and you need include the cxf-rt-transports-http-jetty there. -- 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 November

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-12 Thread Willem Jiang
Hi Gonzalo, I’m glade that you find a way to solve the problem with Camel. Please keep in mind reporting bugs could make Camel even better :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter:

Re: Message router pattern : is this the best way to solve thousands of filter problem ?

2014-11-12 Thread Willem Jiang
Hi, I think you need to do some work to aggregate these thousands of filters into tens filters. Current Camel doesn’t has this kind of aggregation tools, but I think you may try to look at the drools[1] to see if it can apply these filters for you. [1]http://www.drools.org/ -- Willem Jiang

Re: Error while deploying camel proxy in tomcat

2014-11-12 Thread Willem Jiang
It look the jetty server doesn’t shutdown rightly. You may need to check the code of camel-config.xml deployer to see if it shutdown the camel context rightly. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: camel-jetty and Access-Control-Allow-Origin header

2014-11-12 Thread Willem Jiang
You can add the header into message header when you want to send it back. -- 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 November 12, 2014 at 1:56:39 PM, vvsh

Re: Multipart form data and servlet/restlet endpoint

2014-11-12 Thread Willem Jiang
We apply the multipart handler to jetty endpoint by default. If you use camel-servlet, it’s your job to setup that kind of filter in the web.xml to parser the Multipart form data for you. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)

Re: Multipart form data and servlet/restlet endpoint

2014-11-12 Thread navaltiger
Any pointer towards how to apply such filter? On Thu, Nov 13, 2014 at 9:30 AM, Willem.Jiang [via Camel] ml-node+s465427n5759023...@n5.nabble.com wrote: We apply the multipart handler to jetty endpoint by default. If you use camel-servlet, it’s your job to setup that kind of filter in the

Re: Problem with REST DSL (2.14.0) and String bean

2014-11-12 Thread Taariq Levack
Took another squizz at the tree and there's also a 2.1 version of jaxb in camel-cxf, try exclude that too and let us know. On Wed, Nov 12, 2014 at 7:19 PM, Taariq Levack taar...@gmail.com wrote: Hi Looks like camel-Jackson and camel-jaxb have different jaxb-api versions, 2.2 and 2.2.7 Try

camel-metrics Question

2014-11-12 Thread James L Greene
Just out of curiosity, is there a particular design reason that you can't use variable substitution/dynamic expressions in the defintion of URI's for the camel-metrics component? Consider the following example. I'm reading files from a source directory, and want to keep track of the number

Re: Camel Template solution for JSON

2014-11-12 Thread salemi
I am using Jolt for now. I was hoping there is a better mapping framework out there. I looked at smooks but it seems to be old. - Alireza Salemi -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Template-solution-for-JSON2JSON-tp5758858p5759014.html Sent from the

camel xmljson add @ signs to the json output. how to remove the @ signs

2014-11-12 Thread salemi
Hi, I am using the xmljson to convert xml to json. When I do that then I see @ signs added to attributes of an element see example below. How can I remove the @ signs from the output. xml file: ?xml version=1.0 encoding=utf-8? current city id=5095626 name=Bernardsville coord lon=-74.57

Re: camel-metrics Question

2014-11-12 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html On Thu, Nov 13, 2014 at 5:19 AM, James L Greene jlgree...@aep.com wrote: Just out of curiosity, is there a particular design reason that you can't use variable substitution/dynamic expressions in the defintion of

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2014-11-12 Thread Claus Ibsen
Hi What version of Camel do you use? And have you configured the xmljson data format in any way? The @ is because the xml value is from an xml attribute. I wonder if there is a way to turn that off in the xmljson library as yeah that is not needed in the json output. On Thu, Nov 13, 2014 at