Re: CSV to POJO with camel bindy

2014-06-29 Thread Claus Ibsen
Hi Take a look at your class at.tuwien.flightfinder.pojo.Airport and see if some of its getter/setters etc is not public, so Camel cannot "see it". On Sun, Jun 29, 2014 at 11:15 PM, Sanjin Becirovic wrote: > Hello everyone, > > I am trying to transform a csv file to POJO with camel bindy. I hav

Re: Mangled headers on CXFRS request

2014-06-29 Thread Willem Jiang
I just checked the code of CxfRsProducer, it doesn’t copy the message headers from Camel message to CXF message if you invoke the service in proxy model.  Did you try to use HTTP_API to send the request, CxfRsProducer copies the Camel message headers to CXF message in HTTP_API model. -- Willem

loadbalancing dynamic failover

2014-06-29 Thread Minh Tran
Hi I'd like to have a failover route where the list of failover routes are dynamic. My intention is to store this list in a database and be able to control the list of fail overs at runtime. According to this http://mail-archives.apache.org/mod_mbox/camel-users/2

Re: Setting REST service URL parameters at runtime in Camel

2014-06-29 Thread madhu_online1
Thanks for the info. Apparently I was encoding the message before substituting the parameters so that was causing the problem. Now the regular substitution works after removing the encoding. -- View this message in context: http://camel.465427.n5.nabble.com/Setting-REST-service-URL-paramet

Re: Setting REST service URL parameters at runtime in Camel

2014-06-29 Thread Willem Jiang
I just add an unit to show you how to do it in camel. https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commitdiff;h=01d3dad9 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo:

Re: camel-solr, SSL, and SolrCloud

2014-06-29 Thread Scott Stults
No problem. If it gets frustrating let us know and we'll try to break it down a bit. -Scott On Sat, Jun 28, 2014 at 2:26 AM, Claus Ibsen wrote: > Hi > > Thanks for the patch. Its a big file, so it may take a bit to get this > "processed". > > On Fri, Jun 27, 2014 at 6:00 PM, Scott Stults > wr

Re: Return Value from Python Script Not In Message Body

2014-06-29 Thread Willem Jiang
Most of the camel-script use cases are just a simple expression, we can polish the camel script code with your solution. Do you mind fill a JIRA[1] and submit a patch with a test case for it? [1]https://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat

Mangled headers on CXFRS request

2014-06-29 Thread edhansen42
I am using Camel version 2.11.1, and CXF version 2.7.8. I am trying to use the cxfrs component to submit a request to a rest service from camel. I am invoking the route that makes the cxfrs call via a proxy and have a processor that sets up the headers - bi is the BeanInvocation object from the p

CSV to POJO with camel bindy

2014-06-29 Thread Sanjin Becirovic
Hello everyone, I am trying to transform a csv file to POJO with camel bindy. I have the following sitation: CSV file contains flight offers; I am mapping those flight offers to the flight offer POJO; The flight offer POJO itself is linked to Airport POJO to be more specific fromAirport and toAi

Re: Setting REST service URL parameters at runtime in Camel

2014-06-29 Thread madhu_online1
Hi...is there any solution to my problem? Any pointers? -- View this message in context: http://camel.465427.n5.nabble.com/Setting-REST-service-URL-parameters-at-runtime-in-Camel-tp5753001p5753018.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Return Value from Python Script Not In Message Body

2014-06-29 Thread Matt Sicker
I'm not sure on the "proper" way to do it, but what I'd do is write a Processor or similar in Jython for more complex Python scripts. On 29 June 2014 10:09, Tim Dudgeon wrote: > I'd like to follow up on this as I've just hit the same issue. I know this > thread dates from a year and a half ago,

Re: Return Value from Python Script Not In Message Body

2014-06-29 Thread Tim Dudgeon
I'd like to follow up on this as I've just hit the same issue. I know this thread dates from a year and a half ago, but it seems unanswered. The issue is that if you are using a Python script using the language component, it works fine if the script is a one line piece of text. e.g. the whole scr

Setting REST service URL parameters at runtime in Camel

2014-06-29 Thread Madhu Nair
Hi, I want to pass some parameter values in my http GET request at runtime and am not able to figure out a way to do this. The parameter is in my IN message. I have pasted the code snippet below:- public class DocumentCountRouteBuilder extends RouteBuilder { public void configure() {

Setting REST service URL parameters at runtime in Camel

2014-06-29 Thread madhu_online1
Hi, I want to pass some parameter values in my http GET request at runtime and am not able to figure out a way to do this. The parameter is in my IN message. I have pasted the code snippet below:- public class DocumentCountRouteBuilder extends RouteBuilder { public void configure() {