In Chapter 6, we have created the FlightNotificationService. This service sends notifications of updates in the status of a flight to an indicated recipient over the specified channel. Currently, this service leverages the outbound UMS adapter to send notifications over channels Email and Chat (IM). The marketing department of Saibot Airport has expressed an interest in adding Twitter (direct messages) as a channel for sending such notifications. Using the Spring component and the Twitter4J library, we will comply with that request.
Supporting Resources
AMIS Technology Blog (Maarten Smeets): SOA Suite 12c: Getting started with the Spring Component
The starting point sources are in the folder FlightUpdateNotificationService_step0. The end result for this section is in the FlightUpdateNotificationService_step1 folder.
In order to create the application authorization at Twitter , go to https://apps.twitter.com/
Details on the Twitter4J API: http://twitter4j.org
Documentation
-