Camel exec component tokenizer in Spring XML DSL removing plus sign in arguments

2015-03-17 Thread Davis, Daniel
I have been unable to find an encoding or approach to include the ImageMagick argument "+profile" in the argument list for "exec" in Spring XML DSL as show below. With each experiment Trace clearly shows that the "+" sign in the arguments being stripped out. I tried plaintext, HTML and decimal en

Re: Camel exec component tokenizer in Spring XML DSL removing plus sign in arguments

2015-03-18 Thread Davis, Daniel
> -- > Willem Jiang > > Red Hat, Inc. > Web: http://www.redhat.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.iteye.com (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > On March 17, 2015 at 11:06:05 PM, Davis, Daniel (davi...@si.edu)

Deleting a file outside a consumer

2015-04-02 Thread Davis, Daniel
I have an odd case and Google is not helpful because its an odd case (file producer is always matched). I need to convert PDFs to SWF on linux in a route. The most common tool is called pdf2swf but it has a problem characteristic, it can only read from a file and not a pipe because it reads the f

Re: Deleting a file outside a consumer

2015-04-03 Thread Davis, Daniel
t will delete the file it wrote at the end of the UoW. But then > again it would only be for special use-cases where you need to write > temp files. > > You can always write a bit of java code that deletes the file, and/or > attach the code to the UoW so Camel does it at the end. Or

Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-08 Thread Davis, Daniel
I tried to install a route that uses the Schematron component into ServiceMix (I am cross posting). I have the camel-schematron bundle installed in ServiceMix with no known issues. However, the route cannot be created due to the following error: Not supported: http://saxon.sf.net/feature/linenum

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-12 Thread Davis, Daniel
-he bundle? Try > install the camel-schmetron component including the saxon-he bundle and > give it a go. It should work. > > Regards, > > Ayache > > > > > +net.sf.saxon > +Saxon-HE > +${saxon-version} > + > > &g

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-12 Thread Davis, Daniel
-he bundle? Try > install the camel-schmetron component including the saxon-he bundle and > give it a go. It should work. > > Regards, > > Ayache > > > > > +net.sf.saxon > +Saxon-HE > +${saxon-version} > + > > &g

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-12 Thread Davis, Daniel
org.apache.felix.framework (0) I presume if it find Xalan first this is going to be a problem. Onward and upward. -- Dan On 05/12/2015 04:49 PM, Davis, Daniel wrote: > > > +net.sf.saxon > > +Saxon-HE > > +${saxon-version} > > + > >

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Davis, Daniel
ers from the >> OSGI framework like - javax.xml.parsers,version=0.0.0 >> from org.apache.felix.framework (0) >> >> I presume if it find Xalan first this is going to be a problem. Onward >> and upward. >> >> -- >> Dan >> >> On 05/12/2015 04:49 PM, Davis, Daniel wrote: >>> >>>> +net.sf.saxon >>>> +Saxon-HE >>>> +${saxon-version} >>>> + >>>> >>

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Davis, Daniel
On 05/13/2015 11:28 AM, Davis, Daniel wrote: > I have included the XML DSL version. I am working up a better Java DSL > version. I can provoke the issue in a default ServiceMix 5.4.0 install > with only the camel-schematron feature added. I have tried it with the > Apache Saxon-He bund

Implementing a counter in XML DSL and Simple

2015-05-15 Thread Davis, Daniel
>From Claus' 2011 blog I tried to implement a counter but I cannot get it to work inside a splitter (I need a count of only a subset of items). The example code is: ${header.myCounter}++ By itself this code fails because myCounter is not a number. So I initialized it outside the Split bu

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-20 Thread Davis, Daniel
> > Regards, > > Ayache > > > > > > On 13 May 2015 at 19:25, Davis, Daniel wrote: > >> I tried with this Java DSL route. My code is showing a dependency on >> Saxon in ServiceMIx but I gather the camel-schematron component is doing >>

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-06-01 Thread Davis, Daniel
.1 version soon. > > The above ticket only deals with class loader issue and it should get you > pass the issue you were facing on karaf. > > Regards, > > Ayache > On 20 May 2015 at 20:53, Davis, Daniel wrote: > >> Thank you so much for both the workaround and the additi

Camel DevOps at the Smithsonian Institution

2015-07-15 Thread Davis, Daniel
The Smithsonian Institution (SI) is looking for a person to join its SIdora team and create a development operations (DevOps) environment. SIdora is an ever-evolving, open-source infrastructure supporting researchers, to make it easy for them to obtain and use IT resources plus support their data n

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-10-26 Thread Davis, Daniel
more elegant. Any ideas? -- Dan Davis On 06/02/2015 05:50 AM, Ayache Khettar wrote: Hi Dan I have written a simple schematron service which can be deployed into karaf: https://github.com/akhettar/zotix/tree/master/schematron-service. Hope this will help. Ayache On 1 June 2015 at 21:58, Davis, Dani

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-10-26 Thread Davis, Daniel
khettar/zotix/tree/master/schematron-service. Hope this will help. Ayache On 1 June 2015 at 21:58, Davis, Daniel <mailto:davi...@si.edu> wrote: Thanks. I am grabbing a copy to build. -- Dan On 06/01/2015 03:37 PM, Ayache Khettar wrote: Hi Daniel I have checked a fix and here is the lira ti