|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transformer.AbstractTransformer
org.mule.test.usecases.routing.lookup.ValidateResponse
public class ValidateResponse
Throws an exception if the message does not contain "success". In the real world, we might use XPath to extract a particular tag or error code based on the expected response message format.
Field Summary |
---|
Fields inherited from class org.mule.transformer.AbstractTransformer |
---|
encoding, endpoint, logger, mimeType, MULE_MESSAGE_DATA_TYPE, muleContext, name, returnType, sourceTypes |
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
ValidateResponse()
|
Method Summary | |
---|---|
protected java.lang.Object |
doTransform(java.lang.Object src,
java.lang.String encoding)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidateResponse()
Method Detail |
---|
protected java.lang.Object doTransform(java.lang.Object src, java.lang.String encoding) throws TransformerException
doTransform
in class AbstractTransformer
TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |