public class PrinterProducer
extends org.apache.camel.impl.DefaultProducer
| Constructor and Description |
|---|
PrinterProducer(org.apache.camel.Endpoint endpoint,
PrinterConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
PrinterConfiguration |
getConfig() |
String |
getPrinter() |
PrinterOperations |
getPrinterOperations() |
PrintService |
getPrintService() |
void |
process(org.apache.camel.Exchange exchange) |
void |
setPrinter(String printer) |
void |
setPrinterOperations(PrinterOperations printerOperations) |
void |
setPrintService(PrintService printService) |
createExchange, createExchange, createExchange, getEndpoint, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic PrinterProducer(org.apache.camel.Endpoint endpoint,
PrinterConfiguration config)
throws Exception
Exceptionpublic PrinterConfiguration getConfig()
public PrinterOperations getPrinterOperations()
public void setPrinterOperations(PrinterOperations printerOperations)
public PrintService getPrintService()
public void setPrintService(PrintService printService)
public String getPrinter()
public void setPrinter(String printer)
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultProducerExceptionApache Camel