Re: Saxon and root tag matching

2016-12-06 Thread richardgroote
Hello, When adding a after the spring-ws call than the response is fine. The response of the spring webservice call is DomSource (SAAJMessageFactory is used). Kind regards, Richard -- View this message in context: http://camel.465427.n5.nabble.com/Saxon-and-root-tag-matching-tp5791134p5791

Saxon and root tag matching

2016-12-06 Thread richardgroote
Hello, I've a question about using saxon and xslt within Apache Camel. Below is the simplified camel configuration we're uising. The mock service returns some XML. When using the below xslt part than the result after the xslt is the response of the mock service without the xml elements (namespace

Attachment & multiple components

2016-06-09 Thread richardgroote
Hello, We have a question about attachments & HTTP & Spring. May be anyone knows a solution. We're using the below camel configuration. The direct:Test is called with XML message and some attachments. The XML is transformed and than send trough HTTP (the HTTP should not receive the attachments) A

Re: How to set decrypted db password for camel quartz component

2015-03-23 Thread richardgroote
Hello, I'am not sure if this is possible on the QuartzComponent by default. But you could override the quartzcomponent it self and override the method createSchedulerFactory. Kind regards, Richard -- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-decrypted-db-pass

Re: MethodInfo evaluate expression

2015-03-19 Thread richardgroote
Thanx, it should be fixed by https://issues.apache.org/jira/browse/CAMEL-8437 -- View this message in context: http://camel.465427.n5.nabble.com/MethodInfo-evaluate-expression-tp5764359p5764399.html Sent from the Camel - Users mailing list archive at Nabble.com.

MethodInfo evaluate expression

2015-03-18 Thread richardgroote
Hello, We're trying to split the body at a specific position with the below statement. from("direct:abc").setHeader("tmp", constant("(?<=\\G.{3})")).setBody(simple("${body.split(${header.tmp})}")); The above does not work because the regular expression contains ')'. Within the MethodInfo#evaluat

Re: Cacehe-Controle header

2015-03-16 Thread richardgroote
Hello, We used the below header strategy on the servlet component to allow some headers. public class ParameterizedHttpHeaderFilterStrategy extends DefaultHeaderFilterStrategy { private final String[] allowedOutHeaders; public ParameterizedHttpHeaderFilterStrategy(String allowed

SpringWebserviceProducer & WebServiceMessageExtractor

2015-03-13 Thread richardgroote
Hello, We're currently using SpringWS for sending and receiving soap messages. When sending a soap call and the response of the soap call contains attachments than those are not handled by the SpringWebserviceProducer. It would be nice if the SpringWebserviceProducer support a custom WebServiceM

Re: beginner: download json > transform to xml > send to ftp

2015-03-13 Thread richardgroote
Hello, I'am using Spring configuration to configure the camel. Below is a example of the things you described may be it's usefull http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xsi:schem

Cacehe-Controle header

2015-03-12 Thread richardgroote
Hello, For https://issues.apache.org/jira/browse/CAMEL-1975 a lot of headers are filtered on the response. We're using the servlet component and like to set the "cache-control" header with values "no-cache, no-store, must-revalidate". Is there a way to do this without specifying a custom filter s

HttpServletResolveConsumerStrategy improvement?

2015-03-12 Thread richardgroote
Hello, At this moment we're replacing restlet by the servlet component. In the spring camel configuration there are two routes defined (see below for the URI) with overlapping URI parts. The client uses for example the uri: http://localhost:8080/contextroot/servlet/ui/api/a/b/c/d. The restlet co

Re: HttpServletResolveConsumerStrategy improvement?

2015-03-11 Thread richardgroote
Hello, In the above URI the parameter httpMethodRestrict is used. This options is currently not documented on http://camel.apache.org/servlet.html. Kind regards, Richard -- View this message in context: http://camel.465427.n5.nabble.com/HttpServletResolveConsumerStrategy-improvement-tp57

Re: Http 3 Component and Credential delegation

2015-01-30 Thread richardgroote
Hello, I've overriden the HttpProducer, HttpEndpoint and parts of the HttpComponent to support credential delegation on the HTTP Client. It would be nice if this was standard available in the Http Component. KInd regards, Richard -- View this message in context: http://camel.465427.n5.nabbl

XmlJsonDataFormat data format definition cannot set typeHints

2015-01-30 Thread richardgroote
Good day, When using the dataformats with the help of org.apache.camel.model.dataformat.XmlJsonDataFormat than the typeHints cannot be set. I think there is a bug in method configureDataFormat. The second parameter in the method call setProperty(camelContext, typeHints, TYPE_HINTS, typeHints);

Http 3 Component and Credential delegation

2015-01-28 Thread richardgroote
Good day, When using the HTTP(3) component of Apache Camel it is possible to define a HttpClientConfigurer to add additional authentication / security. The HttpClientConfigurer is used when the http client is created. In our case we'd like to add a kerberos ticket when the http method is called.

Re: XSLT Component empty elements

2015-01-08 Thread richardgroote
Hello, When altering the camel route and adding convertBody to java.io.InputStream just before the xslt solves this problem. Also adding the streamcache option solves this problem. I' am still curious why the caching or converting is necessary. Kind regards, Richard -- View this message in c

XSLT Component empty elements

2015-01-08 Thread richardgroote
Hello, We are upgrading from Apache Camel version 2.12.2 to 2.14.0 but have some problems with XSLT component. The input for the XSLT component is xml with no namespaces in it (see below). The result after the transformation does not contain any elements because tests on the elements do not succ

Spring WS and Soap Action

2014-03-05 Thread richardgroote
Hello, We currently are using REST component and SOAP component for receiving messages within our application. The below part of the camel configuration has a dynamic URL for the restlet call and part of the URI is used within the onMessage of the bean. The below works fine and makes it easy to d

DefaultClassResolver and schemes

2013-05-06 Thread richardgroote
Hello, In our project we'd like to resolve uri within the camel configuration. For instance . It's not possible to resolve the resources through file, classpath, etc. We created an extension on the org.apache.camel.impl.DefaultClassResolver and override the method loadResourceAsStream with our ow