Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14355

PDF producer should close PDF documents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.24.3, 3.0.0
    • 3.0.1, 3.1.0
    • None
    • None
    • Novice

    Description

      If you use the PDF component to produce documents, after a while, the following shows up in the logs:

      Warning: You did not close a PDF Document
      

      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.

      Attachments

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              jamesnetherton James Netherton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m