Class As4
Entry point of the AS4 fluent DSL.
// Receive server: accepts every partner of the node and matches each message to one agreement
From(As4.Receive("/as4/in").Port(4090).Tls().ConnectionFactory("node").IdempotentRepository("as4-in"))
.To("direct://inbound");
// Send to a partner: the address is the URI, the agreement is the registry
From("direct://outbound")
.To(As4.Send("https://ap.partner.example/as4").ConnectionFactory("node").Partner("acme"));
public static class As4
Inheritance
Methods
Receive(string)
AS4 receive server on the given HTTP path.
public static As4Builder Receive(string path)
Send()
AS4 sender posting to the of its partner: as4:?partner=.... A partner chosen
public static As4Builder Send()