public class NotificationXmlFormatter
extends org.apache.camel.support.ServiceSupport
Constructor and Description |
---|
NotificationXmlFormatter() |
Modifier and Type | Method and Description |
---|---|
protected JAXBContext |
createContext(String contextPath)
Strategy to create JAXB context
|
protected void |
doStart() |
protected void |
doStop() |
String |
format(Notification aNotification) |
public String format(Notification aNotification) throws NotificationFormatException
NotificationFormatException
protected JAXBContext createContext(String contextPath) throws JAXBException
JAXBException
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.ServiceSupport
Exception
Apache Camel