Integrate the Twitter Channel into the FlightNotificationService

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.

image

 

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

-

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd met *

De volgende HTML tags en attributen zijn toegestaan: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>