public abstract class MetadataTypeWriterScope extends ComponentModelMetadataScope
ComponentModelMetadataScope that serializes a MetadataType and returns it as a Json
string inside the Messagecomponent, metadataService, metadataTypeWriter, muleContext| Constructor and Description |
|---|
MetadataTypeWriterScope() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.message.Message |
getMetadata() |
protected abstract org.mule.metadata.api.model.MetadataType |
getMetadataType()
Gets the
MetadataType to be serialized and returned in the Message |
getComponentModel, getMetadataComponentdispose, getComponent, getComponentLocation, initialise, metadataTestException, process, setComponent, start, stoppublic org.mule.runtime.api.message.Message getMetadata()
throws MetadataTestException
getMetadata in class AbstractMetadataScopeMetadataTestExceptionprotected abstract org.mule.metadata.api.model.MetadataType getMetadataType()
throws MetadataTestException
MetadataType to be serialized and returned in the MessageMetadataTestExceptionCopyright © 2019. All rights reserved.