camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilgin Ibryam <bibr...@gmail.com>
Subject Re: Camel FOP component for PDF(and other output formats) generation
Date Wed, 09 Nov 2011 13:56:53 GMT
On Tue, Nov 8, 2011 at 6:47 PM, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
> Hi guys,
>
> The xmlgraphics bundle jars should be available today as SNAPSHOT.

Thanks JB,

but SMX4-963 is still open, why?

Also what about getting pdfbox bundle, we need it for running the
tests and probably in near future for CAMEL-3552  ?

Bilgin

>
> Regards
> JB
>
> On 11/06/2011 08:18 AM, Claus Ibsen wrote:
>>
>> Hi
>>
>> Nice work. We love contributions. Keep it up.
>> As Christian said after the 2.9.0 release we should have time to
>> adding new components.
>>
>> And there may be some 3rd party JARs we need to make sure can be
>> deployed in OSGi
>> and that the camel-fop component can be deployed in osgi as well.
>>
>>
>> On Fri, Nov 4, 2011 at 1:20 PM, Bilgin Ibryam<bibryam@gmail.com>  wrote:
>>>
>>> Hi all,
>>>
>>> I've created a camel-fop component that uses Apache FOP project to
>>> render Camel messages into different outputs like PDF, PostScript,
>>> PCL, AFP, RTF, PNG etc [1].
>>>
>>> The component has only a producer, which expects in the message body
>>> xml in XSL-FO format that can be generated from XML data and XSLT
>>> template, or using freemarker or velocity templates. Then transforms
>>> it to the output format specified in the endpoint URL or message
>>> header.
>>>
>>> Also it is possible to set metadata per document (like producer,
>>> author, creation data, resolution) or encrypt the documents with
>>> password.
>>>
>>> Additionally it has options to override the default fop config file by
>>> specifying a new userConfig location [2] in the endpoint URL.
>>>
>>> Here is an example of creating PDFs from xml data and xslt template:
>>>
>>>                        .from("file:source/data/xml")
>>>                        .to("xslt:xslt/template.xsl")
>>>                        .to("fop:application/pdf")
>>>                        .to("file:target/data");
>>>
>>> I think this would enhance the reporting capabilities of Came a lot.
>>> WDYT?
>>> The patch is attached to the existing issue
>>> https://issues.apache.org/jira/browse/CAMEL-3551
>>>
>>> [1]http://xmlgraphics.apache.org/fop/0.95/output.html
>>> [2]http://xmlgraphics.apache.org/fop/1.0/embedding.html#config-internal
>>>
>>>
>>> Cheers,
>>>
>>> --
>>> Bilgin Ibryam
>>> b.ibryam@sourcesense.com
>>> Sourcesense - making sense of Open  Source: http://www.sourcesense.com
>>>
>>
>>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Mime
View raw message