org.apache.camel.component.printer
Class PrinterProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.printer.PrinterProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service
public class PrinterProducer
- extends DefaultProducer
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
PrinterProducer
public PrinterProducer(Endpoint endpoint,
PrinterConfiguration config)
throws Exception
- Throws:
Exception
doStart
protected void doStart()
throws Exception
- Overrides:
doStart in class DefaultProducer
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop in class DefaultProducer
- Throws:
Exception
process
public void process(Exchange exchange)
throws Exception
- Throws:
Exception
getEndpoint
public Endpoint getEndpoint()
- Specified by:
getEndpoint in interface Producer- Overrides:
getEndpoint in class DefaultProducer
setEndpoint
public void setEndpoint(Endpoint endpoint)
getConfig
public PrinterConfiguration getConfig()
setConfig
public void setConfig(PrinterConfiguration config)
getPrinterOperations
public PrinterOperations getPrinterOperations()
setPrinterOperations
public void setPrinterOperations(PrinterOperations printerOperations)
getPrintService
public PrintService getPrintService()
setPrintService
public void setPrintService(PrintService printService)
getPrinter
public String getPrinter()
setPrinter
public void setPrinter(String printer)
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.