Blueprint and property placeholder

2016-09-20 Thread dpravin
Hello All, We have some common properties, not integration/bundle specific. Can multiple routes/bundles refer to these property files from blueprint using cm:property-placeholder? I also found out that if you have set update-strategy="reload" the bundle get restarted irrespective of the property

Camel MQTT Connection Pooling

2016-09-20 Thread Joe San
Camel Users, Is there a comparable pooled connection implementation for the MQTT component in Camel? For the ActiveMQ / JMS, there is a *PoolingConnectionFactory* that I could use. Is there something for the MQTT component? Looking at the configuration parameters, I suspect it is not: http://came

Re: rabbitmq component headers

2016-09-20 Thread Ismail Emre Kartoglu
Sorry, I’ve switched to using the camel & rabbitmq-component version 2.17.3 (latest in maven central repo), and my initial issue does not exist with this version. Now I have a slightly different question: from("rabbitmq://localhost/A?username=guest&password=guest&routingKey=B&threadPoolSize=1&

Re: cxf-core 3.1.7 Validation issue with camel

2016-09-20 Thread sari.reach
Hi, Please find the entire camel-config.xml. Schema information is inside the resource folder(in classpath). For this scenario, request validation is working fine and only response validation is creating an issue http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.or

Re: rabbitmq component headers

2016-09-20 Thread Ismail Emre Kartoglu
Thanks Willem. The documentation says the URI should look like: rabbitmq://hostname[:port]/exchangeName?[options] So I do have the exchange name in the URI in my example. See http://camel.apache.org/rabbitmq.html Sent from phone On 21 Sep 2016 1:49 a.m., "Willem Jiang" wrote: > You should a

Re: rabbitmq component headers

2016-09-20 Thread Willem Jiang
You should add the exchangeName parameter to the rabbitmq uri if you don’t want to specify the message header there. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 21, 2016 at 5:14:54 AM,

Re: rabbitmq component headers

2016-09-20 Thread Willem Jiang
Even you specify the routingKey in the rabbitmq uri, camel cannot find out the exchange name without checking it from message header. So you cannot comment out the exchange name setting part.  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twi

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

2016-09-20 Thread Brad Johnson
One part of this that's been bothering mainly due to my ignorance of not having used in my testing is the adviceWith. And the weaveById. Route definitions throw the generic big E exception. I wonder if you'd see anyting in there if you did something like this. At least that could identify wheth

rabbitmq component headers

2016-09-20 Thread Ismail Emre Kartoglu
Hello Camel users, I have a question regarding the camel-rabbitmq component. The following code sends the message “test” to exchange “A” with routing key “B” every 5 seconds: from("timer:test?period=5000").process(new Processor() { @Override public void process(Exchan

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

2016-09-20 Thread Brad Johnson
Too bootstrap a route from the Java DSL you only need to do something like this: http://camel.apache.org/schema/blueprint";> my.routes.internal And in the my.routes.internal package (or whatever you want to call it) you would have route builder. You could put mock:out instead of direct:ou

Re: cxf-core 3.1.7 Validation issue with camel

2016-09-20 Thread Willem Jiang
I think you you need to specify the schemaLocation from the spring configuration file to let the CXF Endpoint knows about. Please check the example here[1] [1]http://camel.apache.org/cxf.html#CXF-ConfiguretheCXFendpointswithSpring -- Willem Jiang Blog: http://willemjiang.blogspot.com (Englis

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

2016-09-20 Thread owain
Brad, I am using 2.15.6 since this is the closest to Fuse-6.2.1. I have just tried the test with CBTS 2.17.0. Is there a higher version? I add mock:increment (now refactored to mock:out) and replace the "from" with direct:in in. context.getRouteDefinition("i4ip-order-publish-route").advice