Class ReconnectableHeisenbergSource
java.lang.Object
org.mule.sdk.api.runtime.source.Source<String,Object>
org.mule.test.heisenberg.extension.SdkHeisenbergSource
org.mule.test.heisenberg.extension.ReconnectableHeisenbergSource
- All Implemented Interfaces:
org.mule.runtime.extension.api.runtime.connectivity.Reconnectable
@Alias("ReconnectableListenPayments")
@EmitsResponse
@Fires(SourceNotificationProvider.class)
@Streaming
@MediaType("text/plain")
public class ReconnectableHeisenbergSource
extends SdkHeisenbergSource
implements org.mule.runtime.extension.api.runtime.connectivity.Reconnectable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreconnect(org.mule.runtime.api.connection.ConnectionException exception, org.mule.runtime.extension.api.runtime.connectivity.ReconnectionCallback reconnectionCallback) Methods inherited from class org.mule.test.heisenberg.extension.SdkHeisenbergSource
onBackPressure, onError, onStart, onStop, onSuccess, onTerminate, resetHeisenbergSource
-
Field Details
-
succesfulReconnections
public static int succesfulReconnections -
failedReconnections
public static int failedReconnections
-
-
Constructor Details
-
ReconnectableHeisenbergSource
public ReconnectableHeisenbergSource()
-
-
Method Details
-
reconnect
public void reconnect(org.mule.runtime.api.connection.ConnectionException exception, org.mule.runtime.extension.api.runtime.connectivity.ReconnectionCallback reconnectionCallback) - Specified by:
reconnectin interfaceorg.mule.runtime.extension.api.runtime.connectivity.Reconnectable
-