James Netherton created CAMEL-14355:
---------------------------------------

             Summary: 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: 3.0.0, 2.24.3
            Reporter: James Netherton


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)

Reply via email to