In line with our commitment to continually improve our services, we have broken out the Events functions from ITAS Web Services v1 to allow us to create a more suitable framework around the most popular functions.
The Events API has been updated to use ASP.NET Core framework to both take advantage of performance improvements and also to align with the current technology strategy adopted by the other components of the ITAS Tech Stack.
This article is targeted to both new adopters of ITAS Events and those that have already implemented under v1.
{{host.v1}} - port 81
{{host.v2}} - port 4710/5710
Purpose | v1 | v2 |
Create Subscriber (Mailbox) | POST {{host.v1}}/Events/Register?subscriberName={subscriberName} | POST {{host.v2}}/Subscribers/{subscriberName} |
Subscribe to a Topic | POST {{host.v1}}/Events/Subscribe?subscriberId={subscriberID}&topic={n-nn}&companyCode=GF | PUT {{host.v2}}/Subscriptions/{subscriberID}/{n-nn} |
Publish Message | PUT {{host.v1}}/Events/Publish?companyCode=GF&topic={n-nn} | PUT {{host.v2}}/Messages/{n-nn} |
Peek Messages | GET {{host.v1}}/Events/Peek?subscriberId={subscriberID}&timeout=10 | GET {{host.v2}}/Messages/{subscriberID}?timeout=10 |
Receive Message | POST {{host.v1}}/Events/Receive?subscriberId={subscriberID}&messageId={messageID}&lockTimeout=30 | first message is returned within the Peek response |
Confirm Message | DELETE {{host.v1}}/Events/Confirm?subscriberId={subscriberID}&messageId={messageID} | DELETE {{host.v2}}/Messages/{subscriberID}/{messageID} |
For existing consumers of Events API through ITAS Web Services v1 (port 81) there are two options:
The deployment team can assist with configuration changes to: