Class DomibusConnectorClientDeliveryRestClient
- java.lang.Object
-
- eu.domibus.connector.client.controller.rest.impl.DomibusConnectorClientDeliveryRestClient
-
- All Implemented Interfaces:
DomibusConnectorClientDeliveryRestClientAPI
public class DomibusConnectorClientDeliveryRestClient extends Object implements DomibusConnectorClientDeliveryRestClientAPI
-
-
Constructor Summary
Constructors Constructor Description DomibusConnectorClientDeliveryRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deliverNewConfirmationFromConnectorClientToBackend(DomibusConnectorClientMessage newMessage)
This method is called by the domibusConnectorClient to push a new confirmation message to the backend application.void
deliverNewMessageFromConnectorClientToBackend(DomibusConnectorClientMessage msg)
This method is called by the domibusConnectorClient to push a new message to the backend application.String
getDeliverNewConfirmationMethodUrl()
String
getDeliverNewMessageMethodUrl()
org.springframework.web.reactive.function.client.WebClient
getDeliveryRestClient()
void
setDeliverNewConfirmationMethodUrl(String deliverNewConfirmationMethodUrl)
void
setDeliverNewMessageMethodUrl(String deliverNewMessageMethodUrl)
void
setDeliveryRestClient(org.springframework.web.reactive.function.client.WebClient deliveryRestClient)
-
-
-
Method Detail
-
deliverNewMessageFromConnectorClientToBackend
public void deliverNewMessageFromConnectorClientToBackend(DomibusConnectorClientMessage msg) throws Exception
Description copied from interface:DomibusConnectorClientDeliveryRestClientAPI
This method is called by the domibusConnectorClient to push a new message to the backend application.- Specified by:
deliverNewMessageFromConnectorClientToBackend
in interfaceDomibusConnectorClientDeliveryRestClientAPI
- Throws:
Exception
-
deliverNewConfirmationFromConnectorClientToBackend
public void deliverNewConfirmationFromConnectorClientToBackend(DomibusConnectorClientMessage newMessage) throws Exception
Description copied from interface:DomibusConnectorClientDeliveryRestClientAPI
This method is called by the domibusConnectorClient to push a new confirmation message to the backend application.- Specified by:
deliverNewConfirmationFromConnectorClientToBackend
in interfaceDomibusConnectorClientDeliveryRestClientAPI
- Parameters:
newMessage
- a client message object holding the new confirmation received by the domibusConnectorClient and the original backendMessageId of the message.- Throws:
Exception
-
getDeliveryRestClient
public org.springframework.web.reactive.function.client.WebClient getDeliveryRestClient()
-
setDeliveryRestClient
public void setDeliveryRestClient(org.springframework.web.reactive.function.client.WebClient deliveryRestClient)
-
getDeliverNewMessageMethodUrl
public String getDeliverNewMessageMethodUrl()
-
setDeliverNewMessageMethodUrl
public void setDeliverNewMessageMethodUrl(String deliverNewMessageMethodUrl)
-
getDeliverNewConfirmationMethodUrl
public String getDeliverNewConfirmationMethodUrl()
-
setDeliverNewConfirmationMethodUrl
public void setDeliverNewConfirmationMethodUrl(String deliverNewConfirmationMethodUrl)
-
-