Search in sources :

Example 1 with MessagingProviderFacade

use of network.oxalis.outbound.transmission.MessagingProviderFacade in project Oxalis-AS4 by OxalisCommunity.

the class AbstractMessagingProviderTest method beforeClass.

@BeforeClass
public void beforeClass() throws Exception {
    senderCert = generateSelfSignedCertificate("CN=" + SENDER + ",O=Difi,L=Oslo,C=NO");
    receiverCert = generateSelfSignedCertificate("CN=" + RECEIVER + ",O=Difi,L=Oslo,C=NO");
    messagingProvider = new MessagingProviderFacade(senderCert, new DefaultMessageIdGenerator("test"), getPEPPOLOutboundConfiguration());
}
Also used : DefaultMessageIdGenerator(network.oxalis.as4.common.DefaultMessageIdGenerator) MessagingProviderFacade(network.oxalis.outbound.transmission.MessagingProviderFacade) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

DefaultMessageIdGenerator (network.oxalis.as4.common.DefaultMessageIdGenerator)1 MessagingProviderFacade (network.oxalis.outbound.transmission.MessagingProviderFacade)1 BeforeClass (org.testng.annotations.BeforeClass)1