All Downloads are FREE. Search and download functionalities are using the official Maven repository.

network.oxalis.as4.outbound.As4MessageSenderFacade Maven / Gradle / Ivy

There is a newer version: 6.7.0
Show newest version
package network.oxalis.as4.outbound;

import com.google.inject.Inject;
import network.oxalis.api.lang.OxalisTransmissionException;
import network.oxalis.api.outbound.MessageSender;
import network.oxalis.api.outbound.TransmissionRequest;
import network.oxalis.api.outbound.TransmissionResponse;

public class As4MessageSenderFacade implements MessageSender {

    private As4MessageSender messageSender;

    @Inject
    public As4MessageSenderFacade(As4MessageSender messageSender) {
        this.messageSender = messageSender;
    }

    @Override
    public TransmissionResponse send(TransmissionRequest transmissionRequest) throws OxalisTransmissionException {
        return messageSender.send(transmissionRequest);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy