Re: Parsing unstructured Text in Camel

2016-11-25 Thread Anton
On Sat, Nov 26, 2016 at 12:23 AM, souciance < souciance.eqdam.ras...@gmail.com> wrote: > > Actually there is no tool that can handle any unstructured data That is not correct. https://uima.apache.org/doc-uima-why.html

Re: Parsing unstructured Text in Camel

2016-11-25 Thread souciance
Hi, Actually there is no tool that can handle any unstructured data unless you want to put everything in some some sort of nosql database och run queries against it. Otherwise even integration software with advanced mapping capabilities like IBM's IIB 10 requires you to describe the structure of t

Re: Parsing unstructured Text in Camel

2016-11-25 Thread Anton
It might be over-kill, but you could use Apache UIMA - https://uima.apache.org/d/uima-as-current/apidocs/org/apache/uima/camel/UimaAsEndpoint.html On Fri, Nov 25, 2016 at 11:33 AM, Jan Matèrne (jhm) wrote: > I dont think that there is such a component. > > Unless you have validated the input you

Exchange is complete meaning

2016-11-25 Thread sa_james
Hi List, newbie question regarding the fundamental concept of completeness of an exchange. Here is a sentence from the camel doc: "The onCompletion DSL allows you to add custom routes/processors when the original Exchange is complete" Let's say I have this simple route: from("jms:source"). o

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

Drop aggregate

2016-11-25 Thread morten
I have a scenario where i am parsing a large csv file that contains a lot of orderrows. I process each orderrow individually in different steps and then use an aggregator to collect all orderows for a given order. The problem is that during the processing an exception can occur which will move the

AW: Parsing unstructured Text in Camel

2016-11-25 Thread jhm
I dont think that there is such a component. Unless you have validated the input you can't rely on a structure. So I would write a simple bean which parses the text. E.g. using the regexp you mentioned. Jan > is there any component which helps me to parse plain text? Not JSON, > XML or CSV. >

Re: Instead of parallel JMS consumption only sequentially processed

2016-11-25 Thread Christian Schneider
I added a note at camel-jms so people find this quicker in the future. Christian On 24.11.2016 17:20, Claus Ibsen wrote: Set a lower prefetch buffer on ActiveMQ as each consumer polls in 1000 messages by default. On Thu, Nov 24, 2016 at 2:54 PM, Oliver Wulff wrote: Hi there I've deployed a

Re: Contract first with Swagger and Camel

2016-11-25 Thread Claus Ibsen
I wonder if there is a swagger -> retrofit generator? https://square.github.io/retrofit/ If doing java code for REST then this library is awesome. On Wed, Nov 23, 2016 at 10:07 AM, Claus Ibsen wrote: > Hi > > Yeah option B could be nice, the rest component could be enhanced to > support this. A

Re: nullpointerException coming while doing JSON to Java POJO

2016-11-25 Thread Claus Ibsen
Hi Sorry but you need to provide more detailed information before we can help you. Where do you get the NPE, and what versions are you using. And how do you run this etc. I suggest to dive deeper yourself a bit more before reaching back to us. On Fri, Nov 25, 2016 at 3:25 AM, Gunjara wrote: >

Re: WS-SecurityPolicy and WS-Timestamp

2016-11-25 Thread martin.pelikan
Hi Claus, I solved the problem. First approach was to leverage wss4jOutInterceptor. I was able to generate WS-UsernameToken, WS-Timestamp and WS-Addressing in request, but unfortunatelly in wrong order (Timestamp->UsernameToken->Addressing). I wasn't able to change the element order, thus had to f

AW: Instead of parallel JMS consumption only sequentially processed

2016-11-25 Thread Oliver Wulff
Thanks Claus - that did the trick [?] The following link did help to understand the background: http://activemq.apache.org/what-is-the-prefetch-limit-for.html Thanks Oli Apache ActiveMQ (tm) -- What is the Prefetch Limit For? a

Re: SFTP via quartz2 , after first call returns only 1 file instead of all files again

2016-11-25 Thread kalber
Thanks Klaus, setting idempotent=false it's works. Regards Karlheinz - kh -- View this message in context: http://camel.465427.n5.nabble.com/SFTP-via-quartz2-after-first-call-returns-only-1-file-instead-of-all-files-again-tp5790470p5790524.html Sent from the Camel - Users mailing list

Re: Parsing unstructured Text in Camel

2016-11-25 Thread Jean-Baptiste Onofré
Hi Jan You can always use a custom processor for that. Regards JB⁣​ On Nov 25, 2016, 08:16, at 08:16, Jan Bernhardt wrote: >Hi Camel Users, > > >is there any component which helps me to parse plain text? Not JSON, >XML or CSV. > > >My use case is that I receive an E-Mail with multiple keywords

nullpointerException coming while doing JSON to Java POJO

2016-11-25 Thread Gunjara
HI can any body help me on this. from("direct:restClient").toD("url") .unmarshal().json(JsonLibrary.Jackson, Product[].class ).log("STARTED!") .process(new Processor() { @Override