Camel REST DSL - using provided SSL port in karaf

2017-03-16 Thread ychawla
Hello All, In my karaf instances, I have many bundles deployed and I use pax-jetty to provide SSL using this configuration in etc/org.ops4j.pax.web.cfg: org.osgi.service.http.enabled=false org.osgi.service.http.secure.enabled=true org.ops4j.pax.web.ssl.keystore=mykeystore.jks org.ops4j.pax.web.ssl

Setting SOAP header.

2017-03-16 Thread Siddharth Patil
Hi, My soap request is as shown below : http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ws="http://ws.processing.dstawd.com/";> HUBUSER OSBLENDING WRESPONSE CREATED Created by HUB-First run 841906 ACCEPTANCE OSBLENDING ACCEPTANCE cid:source1 OSBLENDING DECLARTION cid:source

Re: Conditional registration of routes (or route builders)

2017-03-16 Thread Bernard Ligny
Hi Antonin Very interesting (and elegant!) suggestion. I like the fact that - I can leave untouched the existing code - all the back/white-listing logic is concentrated into one single class (=the extension) I agree with you, a @Conditional annotation should be generic (ie not restricted to prop

Re: Conditional registration of routes (or route builders)

2017-03-16 Thread Antonin Stefanutti
Hi Bernard, One straightforward solution would be to implement a small CDI extension deployed within your WAR that would do the white (or black) listing of the RouteBuilder, depending on whatever condition (a properties file), e.g.: public class CustomerRoutesExtension implements Extension {

Conditional registration of routes (or route builders)

2017-03-16 Thread Bernard Ligny
Hi Camel folks I would like to have some advices/recommandations about the following requirement. We have a webapp with *many* Camel routes (started with Camel-CDI). This war is deployed on various application servers for various customers. Some of theses routes are common to all customers, while

Re: How to get exception which caused the hystrix fallback?

2017-03-16 Thread Claus Ibsen
Yeah its stored as a property on the exchange http://camel.apache.org/why-is-the-exception-null-when-i-use-onexception.html On Thu, Mar 16, 2017 at 12:06 PM, Abhishek.Jha09 wrote: > Hi, > > I'm testing hystrix along with camel routes (in JAVA DSL). So these routes > are essentially of the form: >

Design the new Camel Logo

2017-03-16 Thread Zoran Regvart
Hi Camel riders, I guess most of you wanted to contribute back to Camel as it makes your lives so much better: well here is your chance :) You might not be aware of it but there is call for proposals on the design of the new Apache Camel logo, read about it here: http://camel.apache.org/2017/02/28

How to get exception which caused the hystrix fallback?

2017-03-16 Thread Abhishek.Jha09
Hi, I'm testing hystrix along with camel routes (in JAVA DSL). So these routes are essentially of the form: [from(direct:a) .hystrix() .to("http4:localhost:8080/mock/success") .onFallBack() .process(ex -> ex.getOut().setBody("Hystrix fallback message")) .end()]

Spring Boot graceful shutdown issue

2017-03-16 Thread Thorsten Kunz
I have a Spring Boot application that is using JDBC auto-configuration to start up a pooled datasource to be used by a few camel components. Seems to work quite nice. The issue is now that when I shutdown the app (press ctrl+c on the console) Spring Boot is shutting down the JDBC pool before the C

SOAP request structure.

2017-03-16 Thread Siddharth Patil
Hi, I have a SOAP web service. I am trying to make SOAP request from WSDL. Following is the structure that I am getting when I create the SOAP service using the WSDL. http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ws="http://ws.processing.dstawd.com/";> HUBUSER OSBLENDING WRESPONSE CR

Re: File Component route issue.

2017-03-16 Thread Stéphane Chaillon
I had the same issue today. It was simply linked to the file encoding. I just had charset option to the file component and the problem has been solved ! -- View this message in context: http://camel.465427.n5.nabble.com/File-Component-route-issue-tp5747281p5795564.html Sent from the Camel - Us

Re: [Camel-Kafka] endpoints configuration

2017-03-16 Thread Claus Ibsen
Hi We try to stay on top. It may need some kind of tooling that check their source/code to grab a list of options and add them automatic or something. But we could try to add support for users to type in the option as well. You are welcome to log a JIRA On Thu, Mar 16, 2017 at 8:50 AM, habdank

[Camel-Kafka] endpoints configuration

2017-03-16 Thread habdank
Every minor and major Kafka release brings newer parameters and removes some deprecated once. It would be valuable to provide some generic way to parameterize Kafka endpoints within .to(…) and .from(…). For example parameter: ssl.secure.random.implementation is not covered by Camel, so it cannot be

Re: I need to set Body by new Pojo each time the router called

2017-03-16 Thread Claus Ibsen
A constant is a one time constant. So if you want a new instance, you need to use a bean or process and return a newly created instance On Wed, Mar 15, 2017 at 12:23 PM, ayman.elshayb wrote: > Hello All, > > I have a problem . I have a sub router . The router get in the body an > object with type