Instruction Sender
Instruction Sender is part of the Releaser whose role is to send a Payment Instruction to a consuming service.
InstructionSender interface does not specify how the actual sending should look like.
It is left to the implementation class to implement the actual sending logic.
An anticipated usage of the Instruction Sender is to send the retrieved Payment Instruction to an execution service. The execution service can initialise any required downstream components prior to signalling the release of the Transactions contained within the Instruction.
Default Instruction Sender
Default Payment Releaser implementation includes the DefaultInstructionSender class.
This class represents a reference implementation.
The default implementation does not connect to any external component, instead it directly sends the Payment Instruction UnitOfWorkId onto the PaymentReleaser.releaseInstruction API to trigger the releasing of the Transactions included within the Payment Instruction.