public class KymaEventEmitStrategy extends java.lang.Object implements EventEmitStrategy
EventEmitStrategy for kyma event emitting with retries| Constructor and Description |
|---|
KymaEventEmitStrategy() |
public void sendEvent(java.lang.Object object)
sendEvent in interface EventEmitStrategyprotected boolean retryEventEmitting(<any> request,
PublishRequestData publishRequestData,
java.lang.String url)
protected boolean shouldSendToDlq(java.lang.Exception e)
protected void sendToDlq(PublishRequestData publishRequestData, DestinationTargetModel destinationTarget, java.lang.String error)
protected AbstractDestinationModel getEventDestination()
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected TaskService getTaskService()
public void setTaskService(TaskService taskService)
protected RestTemplateWrapper getRestTemplate()
public void setRestTemplate(RestTemplateWrapper restTemplate)
protected DestinationService<AbstractDestinationModel> getDestinationService()
public void setDestinationService(DestinationService<AbstractDestinationModel> destinationService)
protected EventDlqService getEventDlqService()
public void setEventDlqService(EventDlqService eventDlqService)
protected ObjectMapper getJacksonObjectMapper()
public void setJacksonObjectMapper(ObjectMapper jacksonObjectMapper)
protected MessageChannel getEventChannel()
public void setEventChannel(MessageChannel eventChannel)
protected Converter<PublishRequestData,JsonPublishRequestData> getKymaJsonEventConverter()
public void setKymaJsonEventConverter(Converter<PublishRequestData,JsonPublishRequestData> kymaJsonEventConverter)
Copyright © 2018 SAP SE. All Rights Reserved.