Class As2

Assembly: redb.Route.As2.dll

Entry point for the AS2 fluent DSL.

// Receive server (consumer)
From(As2.Receive("/inbound/orders").Host("0.0.0.0").Port(4080).ConnectionFactory("walmart"))
.To("direct://process-edi");

// Send to partner (producer)
From("direct://outbound")
.To(As2.Send("https://partner.example.com/as2").ConnectionFactory("walmart"));

public static class As2

Inheritance

Object→As2

Methods

Receive(string)

AS2 receive server on the given HTTP path.

public static As2Builder Receive(string path)

ReceiveMdn(string)

AS2 async-MDN receiver on the given HTTP path (correlates receipts posted back by partners).

public static As2Builder ReceiveMdn(string path)

Send(string)

AS2 producer that POSTs to the given partner URL.

public static As2Builder Send(string url)