Interface ComponentSampleDataProvider
@NoImplement
public interface ComponentSampleDataProvider
Contract for components capable of providing sample data.
- Since:
- 1.4.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.mule.runtime.api.message.MessageRetrieves sample data based on the component's current configuration
-
Method Details
-
getSampleData
org.mule.runtime.api.message.Message getSampleData() throws org.mule.sdk.api.data.sample.SampleDataExceptionRetrieves sample data based on the component's current configuration- Returns:
- a
Messagecarrying sample data - Throws:
org.mule.sdk.api.data.sample.SampleDataException- if resolution fails
-