|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.processor.UnmarshalProcessor
public class UnmarshalProcessor
Unmarshals the body of the incoming message using the given data format
| Constructor Summary | |
|---|---|
UnmarshalProcessor(DataFormat dataFormat)
|
|
| Method Summary | |
|---|---|
protected void |
doStart()
|
protected void |
doStop()
|
CamelContext |
getCamelContext()
Get the CamelContext |
String |
getTraceLabel()
Gets the trace label used for logging when tracing is enabled. |
void |
process(Exchange exchange)
Processes the message exchange |
void |
setCamelContext(CamelContext camelContext)
Injects the CamelContext |
String |
toString()
|
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnmarshalProcessor(DataFormat dataFormat)
| Method Detail |
|---|
public void process(Exchange exchange)
throws Exception
Processor
process in interface Processorexchange - the message exchange
Exception - if an internal processing error has occurred.public String toString()
toString in class Objectpublic String getTraceLabel()
Traceable
getTraceLabel in interface Traceablepublic CamelContext getCamelContext()
CamelContextAwareCamelContext
getCamelContext in interface CamelContextAwarepublic void setCamelContext(CamelContext camelContext)
CamelContextAwareCamelContext
setCamelContext in interface CamelContextAwarecamelContext - the Camel context
protected void doStart()
throws Exception
doStart in class ServiceSupportException
protected void doStop()
throws Exception
doStop in class ServiceSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||