Re: Blueprint, property-place-holder error name is already instanciated as null and cannot be removed

2018-02-22 Thread Quinn Stevenson
Is that really the XML? It’s not well formed - you start with a cm:property-placeholder element and end with a cm:default-properties element. > On Feb 22, 2018, at 12:48 PM, Alex Soto wrote: > > Hello, > > I am having some problems migrating to Camel 2.20.2 from

Empty/null response from netty4-http template producer

2018-02-22 Thread Alex Soto
Hello, I am having some problems migrating to Camel 2.20.2 from 2.17.4.This has been working before, but now the response is null. I have access to the server logs and everything there looks good, i.e., the server is sending a response, but client is unable to get it. Here is the client

Re: Mybatis component L2 cache and OUT mode

2018-02-22 Thread Rahman USTA
Thanks man. 22 Şub 2018 09:48 tarihinde "Claus Ibsen" yazdı: > Hi > > Its more of a MyBatis question then Camel, so I suggest to ask on > their user forum. > > On Thu, Feb 22, 2018 at 12:17 AM, Rahman USTA > wrote: > > Hello, > > > > I try to

Rép. : Rest Service / redirect with camel-http / No serializer found for class org.apache.camel.converter.stream.CachedOutputStream$WrappedInputStream

2018-02-22 Thread Daniel Langevin
HI, i found my problem. sorry for the disturb. The answer is in: the servername.org already format the response in JSON format, so don't have to transform the BODY receive. it's Wrong, rest servlet try to generat automatically Json, thats the probleme. i only add after http://dummyhost>

Blueprint, property-place-holder error name is already instanciated as null and cannot be removed

2018-02-22 Thread Alex Soto
Hello, I am having some problems migrating to Camel 2.20.2 from 2.17.4. I have blueprint configuration: A component configuration (in this case for Quartz2, but I don’t think this is related to Quartz2):

Rest Service / redirect with camel-http / No serializer found for class org.apache.camel.converter.stream.CachedOutputStream$WrappedInputStream

2018-02-22 Thread Daniel Langevin
Hi, i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel 2.17.7 this service redirect with camel-http to another URL. like http://serverA.org:8181/rest/XXX/geocode/30%20rue%20larue,%20quebec/adress/geom redirect to

Re: Filtering files with the File2 component

2018-02-22 Thread Meissa Sakho
It was not required to include the txt filter. I've removed it and it works. There was some errors elsewhere but the code above works. I've borrowed the example from Camel in Action 2 chapter two to handle another use case (handling extra extension). The extract of my route look like the

Re: Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException: charset

2018-02-22 Thread Claus Ibsen
You can try to specify beanio as a where you configure the charset via - then its a style where you specify the FQN class name and all that stuff. Then you should be able to setup the encoding as a javaCharset type. The stuff may be a bit cumbersome to get right, but it ought to be

Re: Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException: charset

2018-02-22 Thread hrvoje . djurdjevic
I tried all possible to set CamelCharsetName property/header/whatever manually, in hope it would be used by beanio, but it doesn't work. I even tried to convert body to ISO-8859-2, which is single byte character representation, but whatever I try, unmarshalling fixed length stream with beanio

Re: failover with zookeeper-master component

2018-02-22 Thread Dennis Holunder
Undestood. The question is, is the camel zookeeper-master component capable to reconnect, if after some longer time zk nodes come back? In logs I've seen something like "retry gave up", which is not desirable. IMHO, it should never give up, regardles of how many zk nodes are available ERROR

Re: Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException: charset

2018-02-22 Thread hrvoje . djurdjevic
This info should be available to jms layer: https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q032060_.htm The question is also does camel-beanio use Exchange.CHARSET_NAME property, even if properly set to UTF-8? __ Napomena: Ova elektronička

Re: failover with zookeeper-master component

2018-02-22 Thread Claus Ibsen
It uses the zookeeper leader election so only the node that is the master is active, anyone else is in slave mode. Also mind that zk requires a running quorum to function, eg so if you have 3, you need 51%+ to be up and running, eg 2 nodes. So if you lose 2 nodes, and only have 1 then zk is in

Re: Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException: charset

2018-02-22 Thread hrvoje . djurdjevic
I'm looking into it right now, here are some ideas that I found on web: https://stackoverflow.com/questions/11580248/how-to-set-character-encoding-in-beanio https://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Exchange.html#CHARSET_NAME http://camel.apache.org/string.html

Re: Mybatis component L2 cache and OUT mode

2018-02-22 Thread Claus Ibsen
Hi Its more of a MyBatis question then Camel, so I suggest to ask on their user forum. On Thu, Feb 22, 2018 at 12:17 AM, Rahman USTA wrote: > Hello, > > I try to activate L2 cache for mybatis component in an application. There > are several stored procedure calls which