You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/01/10 04:19:00 UTC

[jira] [Resolved] (CAMEL-14355) PDF producer should close PDF documents

     [ https://issues.apache.org/jira/browse/CAMEL-14355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-14355.
---------------------------------
    Fix Version/s: 3.0.1
         Assignee: Pascal Schumacher
       Resolution: Fixed

> PDF producer should close PDF documents
> ---------------------------------------
>
>                 Key: CAMEL-14355
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14355
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.24.3, 3.0.0
>            Reporter: James Netherton
>            Assignee: Pascal Schumacher
>            Priority: Minor
>             Fix For: 3.0.1, 3.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you use the PDF component to produce documents, after a while, the following shows up in the logs:
> {code}
> Warning: You did not close a PDF Document
> {code}
> Some of the PDFBox classes have finalize methods which detect whether documents were not closed properly and auto closes them.
> It'd be better if the Camel PDF producer did this when it has finished working on a PDF document, rather than relying on GC finalizers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)