You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Kai Heinecke (Created) (JIRA)" <ji...@apache.org> on 2012/03/13 22:36:42 UTC

[jira] [Created] (CAMEL-5082) camel-printer: more than one lpr + JobName + mockito

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

                 Key: CAMEL-5082
                 URL: https://issues.apache.org/jira/browse/CAMEL-5082
             Project: Camel
          Issue Type: Improvement
          Components: camel-printer
    Affects Versions: 2.10.0
            Reporter: Kai Heinecke


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5082) camel-printer: more than one lpr + JobName + mockito

Posted by "Kai Heinecke (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Heinecke updated CAMEL-5082:
--------------------------------

    Attachment: lpr.diff
    
> camel-printer: more than one lpr + JobName + mockito
> ----------------------------------------------------
>
>                 Key: CAMEL-5082
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5082
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>    Affects Versions: 2.10.0
>            Reporter: Kai Heinecke
>              Labels: feature, patch
>         Attachments: lpr.diff
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5082) camel-printer: more than one lpr + JobName + mockito

Posted by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-5082.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0

Applied patch with thanks to Kai.
I did some clean up and fixed some CS errors.
                
> camel-printer: more than one lpr + JobName + mockito
> ----------------------------------------------------
>
>                 Key: CAMEL-5082
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5082
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>    Affects Versions: 2.10.0
>            Reporter: Kai Heinecke
>            Assignee: Willem Jiang
>              Labels: feature, patch
>             Fix For: 2.10.0
>
>         Attachments: lpr.diff
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-5082) camel-printer: more than one lpr + JobName + mockito

Posted by "Willem Jiang (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-5082:
-----------------------------------

    Assignee: Willem Jiang
    
> camel-printer: more than one lpr + JobName + mockito
> ----------------------------------------------------
>
>                 Key: CAMEL-5082
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5082
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-printer
>    Affects Versions: 2.10.0
>            Reporter: Kai Heinecke
>            Assignee: Willem Jiang
>              Labels: feature, patch
>         Attachments: lpr.diff
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira