@Alias(value="source") public class FailingPetStoreSource extends org.mule.runtime.extension.api.runtime.source.Source<String,org.mule.runtime.api.message.Attributes>
| Modifier and Type | Field and Description |
|---|---|
static org.mule.runtime.api.connection.ConnectionException |
connectionException |
static ExecutorService |
executor |
static boolean |
failedDueOnException |
| Constructor and Description |
|---|
FailingPetStoreSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,org.mule.runtime.api.message.Attributes> sourceCallback) |
void |
onStop() |
public static boolean failedDueOnException
public static org.mule.runtime.api.connection.ConnectionException connectionException
public static ExecutorService executor
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,org.mule.runtime.api.message.Attributes> sourceCallback) throws org.mule.runtime.api.exception.MuleException
onStart in class org.mule.runtime.extension.api.runtime.source.Source<String,org.mule.runtime.api.message.Attributes>org.mule.runtime.api.exception.MuleExceptionpublic void onStop()
onStop in class org.mule.runtime.extension.api.runtime.source.Source<String,org.mule.runtime.api.message.Attributes>Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.