@Alias(value="ListenPayments") @EmitsResponse @Streaming public class HeisenbergSource extends org.mule.runtime.extension.api.runtime.source.Source<String,org.mule.runtime.api.message.Attributes>
| Modifier and Type | Class and Description |
|---|---|
static class |
HeisenbergSource.TerminateStatus |
| Modifier and Type | Field and Description |
|---|---|
static String |
CORE_POOL_SIZE_ERROR_MESSAGE |
static Optional<org.mule.runtime.api.message.Error> |
error |
static boolean |
executedOnError |
static boolean |
executedOnSuccess |
static boolean |
executedOnTerminate |
static long |
gatheredMoney |
static String |
INITIAL_BATCH_NUMBER_ERROR_MESSAGE |
static boolean |
receivedGroupOnSource |
static boolean |
receivedInlineOnError |
static boolean |
receivedInlineOnSuccess |
static HeisenbergSource.TerminateStatus |
terminateStatus |
| Constructor and Description |
|---|
HeisenbergSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(org.mule.runtime.api.message.Error error,
String sameNameParameter,
Methylamine methylamine,
RicinGroup ricin,
PersonalInfo infoError,
boolean propagateError) |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,org.mule.runtime.api.message.Attributes> sourceCallback) |
void |
onStop() |
void |
onSuccess(Long payment,
String sameNameParameter,
RicinGroup ricin,
PersonalInfo successInfo,
boolean fail) |
void |
onTerminate(org.mule.runtime.extension.api.runtime.source.SourceResult sourceResult) |
public static final String CORE_POOL_SIZE_ERROR_MESSAGE
public static final String INITIAL_BATCH_NUMBER_ERROR_MESSAGE
public static boolean receivedGroupOnSource
public static boolean receivedInlineOnSuccess
public static boolean receivedInlineOnError
public static HeisenbergSource.TerminateStatus terminateStatus
public static Optional<org.mule.runtime.api.message.Error> error
public static boolean executedOnSuccess
public static boolean executedOnError
public static boolean executedOnTerminate
public static long gatheredMoney
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.MuleException@OnSuccess
public void onSuccess(@Optional(defaultValue="#[payload]")
Long payment,
@Optional
String sameNameParameter,
@ParameterGroup(name="Dangerous-Ricin")
RicinGroup ricin,
@ParameterGroup(name="Success Info",showInDsl=true)
PersonalInfo successInfo,
@Optional
boolean fail)
@OnError
public void onError(org.mule.runtime.api.message.Error error,
@Optional
String sameNameParameter,
@Optional
Methylamine methylamine,
@ParameterGroup(name="Dangerous-Ricin")
RicinGroup ricin,
@ParameterGroup(name="Error Info",showInDsl=true)
PersonalInfo infoError,
@Optional
boolean propagateError)
@OnTerminate public void onTerminate(org.mule.runtime.extension.api.runtime.source.SourceResult sourceResult)
public 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.