Re: HL7/netty4/BodyType: io.netty.buffer.UnpooledUnsafeDirectByteBuf

2016-01-21 Thread Claus Ibsen
On Tue, Jan 19, 2016 at 4:54 PM, Walzer, Thomas wrote: > Hi, > > camel-2.15.2 > > I can successfully send to a HL7-Server, however I have troubles accessing > the resulting ACK. > Unfortunately it is of type UnpooledUnsafeDirectByteBuf and type conversion > to string fails: > > On delivery a

Re: Proxy BeanInvocations turning into first-class payloads?

2016-01-21 Thread Claus Ibsen
Use Camel 2.16 onwards, see http://camel.apache.org/using-camelproxy.html On Thu, Jan 21, 2016 at 10:26 PM, Ranx wrote: > I noted that this was closed as "not a problem". I think it is a serious > glitch when the framework isn't respecting something as fundamental as the > contract specified by

Re: Automatically reading Cache-Control and other Header from the HTTP Component .

2016-01-21 Thread Willem Jiang
Camel http endpoint doesn't apply the Cache-Control header when routing the message out according to [this][1]. If you want to keep the message header of "Cache-Control", you need to apply a customer [HttpHeaderFilterStrategy][2].   [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#se

Error while building Camel source code

2016-01-21 Thread umang
Getting following error while running :mvn clean install -Dtest=false An Ant BuildException has occured: java.lang.NoClassDefFoundError: org/apache/xml/serializer/ExtendedContentHandler: org.apache.xml.serializer.ExtendedContentHandler Which dependency is creating problem? Searched a bit on googl

Re: HL7/netty4/BodyType: io.netty.buffer.UnpooledUnsafeDirectByteBuf

2016-01-21 Thread Willem Jiang
It looks like netty handler just releases the UnpooledUnsafeDirectByteBuf automatically. Can you show us a simple test case of it? -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 20, 2016 at

Re: Proxy BeanInvocations turning into first-class payloads?

2016-01-21 Thread Ranx
I noted that this was closed as "not a problem". I think it is a serious glitch when the framework isn't respecting something as fundamental as the contract specified by the interface. I'm putting in a Fuse installation for clients right now and showing a bunch of seasoned Java developers how to

Automatically reading Cache-Control and other Header from the HTTP Component .

2016-01-21 Thread Erukala Uttam
Look into this : http://stackoverflow.com/questions/34923767/allowing-cache-header-to-passthrough-the-http-component-in-camel Please,Can some one suggest a way of doing it.

Re: Agggegrate Scenario Camel

2016-01-21 Thread fxthomas
hello, Sorry ,I dont have much idea of using "embedded aggregor and build your map in aggregator strategy" in XML. In java I could try it out. Do you have any links or pointer which I can read too and try out for XML. -- View this message in context: http://camel.465427.n5.nabble.com/Agg

Re: Agggegrate Scenario Camel

2016-01-21 Thread Bilgin Ibryam
What is the difficulty you are facing exactly? What about - read the file - use splitter and tokenizer to split file into individual lines - use an embedded aggregor and build your map in aggregator strategy - enrich the result from external API - sent the result to another endpoint. HTH,

Agggegrate Scenario Camel

2016-01-21 Thread fxthomas
hello, I am not sure if the below use case is possible in camel. I checked the documentation of aggreration in camel but it does not look like it will fit my need. Scenario:- I have to read from a csv file and collect some limited messages in a map which need to be se