Re: Camel route stops consuming from RabbitMQ queue

2016-09-16 Thread souciance
Hi Stefan I don't see anything obvious in your code. This has happened to me once a long time ago. The main issue there was that the backend took to long to reply which caused a lot of connections to wait and I think caused an issue after the number of messages went into the hundreds. You could

Re: Camel Docker component does not work in the OSGi environment, but I have a solution

2016-09-16 Thread fabryprog
Hello i am working on new docker component release... Thanks for your time. I Will do it -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Docker-component-does-not-work-in-the-OSGi-environment-but-I-have-a-solution-tp5787337p5787655.html Sent from the Camel - Users

Re: Fuse Blueprint properties override

2016-09-16 Thread Brad Johnson
As for the sensitive settings in the properties XML/cfg files, I'd probably go this way: http://camel.apache.org/jasypt.html On Fri, Sep 16, 2016 at 12:34 PM, Brad Johnson wrote: > I've tried to find ways to override the values of a pid, though haven't > dug into

Re: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

2016-09-16 Thread Brad Johnson
By the way, if your XML for the properties has default values for all the required properties then even an error in loading the properties file will mean the test will run fine (which is what you seem to be seeing.) One way to check that is to temporarily comment out one of the default properties

Re: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

2016-09-16 Thread Brad Johnson
Yeah those kinds of errors are an irritation. One of the downsides to Blueprint and I think OSGi in general is the somewhat obscure error messages. I haven't written my CBTS in quite the way you have it so there may be things I'm missing. But if you have the properties for testing already

Re: Fuse Blueprint properties override

2016-09-16 Thread Brad Johnson
I've tried to find ways to override the values of a pid, though haven't dug into it in depth. Also the possibility of using multiple pids in a single blueprint (achieving much the same.) Theoretically it is possible and I think it is in DS but I'm not a big user of DS so don't take that as

Re: Conversion table types names to class

2016-09-16 Thread Claus Ibsen
B[ is not a name of a valid class. It is usually the stat of an toString of a byte[] instance. On Fri, Sep 16, 2016 at 9:58 AM, Nowakowski, Mateusz wrote: > Hi, > > org.apache.camel.util.ObjectHelper.loadSimpleType(...) is able to create > byte[].class object

REST/Jackson: Is it possible to set global PropertyNamingStrategy?

2016-09-16 Thread Andreas A.
Usually I use "bindingmode.json" on rest-endpoints and let Camel deal with the marshalling. Now I would like to control the PropertyNamingStrategy on all marshale/unmarshal. So far my solution is the one below: ObjectMapper objectMapper = new ObjectMapper(); JacksonDataFormat format = new

org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

2016-09-16 Thread Owain McGuire
Hi, I have a simple wire-tap root and I am unit testing it using CamelBlueprintTestSupport. I can run the test and it passes but in the log I get: 2016-09-15 11:10:40,542 [int Extender: 2] ERROR BlueprintContainerImpl \- Unable to start blueprint container for bundle

Re: Fuse Blueprint properties override

2016-09-16 Thread owain
Ranx, Thanks for the tip. I have a parent project (POM) and modules, one each for services. So currently I have a pid for each service but some of the cfg settings are common across projects (e.g. kafka server address which is a pointer to a docker linked container). What would be cool would

Conversion table types names to class

2016-09-16 Thread Nowakowski, Mateusz
Hi, org.apache.camel.util.ObjectHelper.loadSimpleType(...) is able to create byte[].class object from "byte[]" which is byte[].class.getCanonicalName(). However byte[].class.getName() is "[B" Is there a reason why "[B" is not supported? -- Regards, Mateusz Nowakowski

Re: Camel route stops consuming from RabbitMQ queue

2016-09-16 Thread Stefan Meisner Larsen
Maybe this is more precise: http://camel.apache.org/schema/spring; id="app.adapter.sap.customer"> (//*[local-name()='ADP_CUSTOMERID'])[1]/text()

Re: Camel route stops consuming from RabbitMQ queue

2016-09-16 Thread Stefan Meisner Larsen
My route looks like this: It takes xml documents from a queue and sends them as payload in a webservice call, returning the output to a rabbitmq exchange Does some validationa and extracts some fields used for logging via the routeEventsObserver @Override public void configure() throws Exception