Re: Camel FTP: how to work with corrupt files.

2017-05-16 Thread Frank Wein
, but this time extract only the new lines (appended lines). Thanks, Regards -- View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-how-to-work-with-corrupt-files-tp5799531.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Frank Wein Forschungsgruppe

Re: Evaluate JsonPath on string inside a Map

2017-02-09 Thread Frank Wein
souciance wrote: Not sure if this is what you are after but I have done it this way: .when(PredicateBuilder.isEqualTo(ExpressionBuilder.languageExpression("jsonpath","$.Status"), "whatyouwantequalto")) The $.Status is a node in the json string. -- View this message in context: http://camel

Re: Evaluate JsonPath on string inside a Map

2017-02-08 Thread Frank Wein
Frank Wein wrote: Hi all, I wonder how I can achieve the following: I want to evaluate a JsonPath predicate in a when() expression on a string, which is inside a Map/MapMessage. If possible, this should be done with the Camel Java DSL. The original message should not be modified, I only want

Evaluate JsonPath on string inside a Map

2017-02-08 Thread Frank Wein
Hi all, I wonder how I can achieve the following: I want to evaluate a JsonPath predicate in a when() expression on a string, which is inside a Map/MapMessage. If possible, this should be done with the Camel Java DSL. The original message should not be modified, I only want to evaluate the Jso

Re: How to use the InOut (Request-Reply) pattern in combination with REST/Jetty?

2016-11-27 Thread Frank Wein
er web service and send the response back via the queue to the first route. This one should then reply to the incoming REST request. Is this possible, if yes, how? My attempts at this did not really work. Regards Frank Frank Wein wrote: Hi all, I have a problem setting up the correct Camel rout

How to use the InOut (Request-Reply) pattern in combination with REST/Jetty?

2016-11-25 Thread Frank Wein
Hi all, I have a problem setting up the correct Camel routes in Java for a problem I'm having. I'm still quite new to Camel and ActiveMQ, so please be patient with me :) What I want to accomplish is the following: * Provide a REST (HTTP GET) endpoint with Camel (Jetty) and send the request (m