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

camel-printer: more than one lpr + JobName + mockito

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0
    • 2.10.0
    • camel-printer
    • Patch Available
    • Moderate

    Description

      camel-printer only supports one configuration. I needed two lpr endpoints...

      javax.print allows to set a JobName - nice in the webinterface of cups. from(...).setHeader(PrinterEndpoint.JOB_NAME, simple(${file:onlyname})).to("lpr://localhost/printer");

      The new testcases should work without a printer configured. mockito seems to be in use by other components, too.

      Attachments

        1. lpr.diff
          13 kB
          Kai Heinecke

        Activity

          People

            njiang Willem Jiang
            kaihei Kai Heinecke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: