public class KymaEventEmitTaskRunner extends java.lang.Object implements TaskRunner<TaskModel>
| Constructor and Description |
|---|
KymaEventEmitTaskRunner() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitLoggingCtx, isLoggingSupported, stopLoggingCtxpublic void run(TaskService taskService, TaskModel task)
run in interface TaskRunner<TaskModel>public void handleError(TaskService taskService, TaskModel taskModel, java.lang.Throwable error)
handleError in interface TaskRunner<TaskModel>protected void scheduleRetry(java.lang.Integer retry,
PublishRequestData publishRequestData)
protected boolean retryEventEmitting(<any> request,
PublishRequestData publishRequestData,
java.lang.String url)
protected RestTemplateWrapper getRestTemplate()
public void setRestTemplate(RestTemplateWrapper restTemplate)
protected DestinationService<AbstractDestinationModel> getDestinationService()
public void setDestinationService(DestinationService<AbstractDestinationModel> destinationService)
protected MessageChannel getEventChannel()
public void setEventChannel(MessageChannel eventChannel)
protected EventService getEventService()
public void setEventService(EventService eventService)
protected Converter<PublishRequestData,JsonPublishRequestData> getKymaJsonEventConverter()
public void setKymaJsonEventConverter(Converter<PublishRequestData,JsonPublishRequestData> kymaJsonEventConverter)
Copyright © 2018 SAP SE. All Rights Reserved.