network.oxalis.as4.outbound.As4MessageSenderFacade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oxalis-as4 Show documentation
Show all versions of oxalis-as4 Show documentation
Extension adding AS4 support to Oxalis
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);
}
}