Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

TOOP4EU/toop-interface

Repository files navigation

toop-interface

A Java 8+ library providing the fixed interfaces to be used by national DC and DP implementations.

Latest release: 0.10.8 (2020-01-26) (using data model 1.4.1-2)

This project is superseded by TOOP Connector NG

Usage

This library contains two servlets occupying the paths /to-dp and /to-dc.

  • /to-dp is used on the Data Publisher (DP) side only, for retrieving incoming messages from the TOOP Connector (TC). The TC expects this interface when forwarding stuff to the DP. Note: the interface was extended in v0.10 to handle both "TOOP Requests" (good case) as well as "TOOP Responses" (in case of error).
  • /to-dc is used on the Data Consumer (DC) side only, for retrieving incoming messages from the TC. This interface only accepts TOOP responses.

Custom callback handlers for these servlets MUST be registered so that the messages are handled. Use ToopInterfaceManager.setInterfaceDC and ToopInterfaceManager.setInterfaceDP to set these callbacks. Do this only once globally, upon application startup.

Compile

mvn clean install

Download

Binary releases (per version) can be downloaded from:

Source code for the different versions is available at: