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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public PrinterProducer(org.apache.camel.Endpoint endpoint, PrinterConfiguration config) throws Exception
Exception
public 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.DefaultProducer
Exception
Apache Camel