Chapter 13 – Inbound Adapters – Polling Database, Consuming JMS and Receiving Emails

SOA Composites or Service Bus projects do not have to be triggered through a request message from an external consumer. The adapters we have discussed for outbound operations towards databases, file systems, JMS destinations, Advanced Queues and people (UMS through email, SMS and chat) also operate in an inbound direction. In this direction, external events activate the adapter to trigger the proxy service or SOA composite. This includes events such as a new file appears, a database record is updated, a message is published on a JMS queue or topic or an email or chat message arrives.

This chapter demonstrates the use of these inbound adapter actions. These are quite valuable to have our SOA applications quickly respond to events in boundary systems – even though these are not explicitly published as business events. The inbound mode of the adapters mean we do not have to write all kinds of polling logic to keep track of what is going on in various channels and systems around us.

Specifically, this chapter discusses the inbound database adapter mode to spot new or changed database records, the JMS queue listener and the inbound mode for the UMS adapter, that will monitor incoming emails and chat messages.

Sections in this chapter:

These figures illustrate the components to be developed in this chapter.

image

image

image

Sources for this chapter can be found on Github: Chapter 13 sources.

Supporting On Line Documents and source code

Configure JMS resources for Saibot Airport – see article on this blog

Configure Adapter Threads in Oracle SOA 11G – Francis Ip – http://www.thesoaman.com/2012/02/configure-oracle-soa-adapter-threads-in.html

JCA adapters and message rejection handling – - http://soacrux.blogspot.nl/2013/11/jca-adapters-and-message-rejection.html

Resources

Cloud Adapter for SalesForce.com – Documentation – http://www.oracle.com/technetwork/middleware/adapters/documentation/sfdcadapteruserguide1213-2226546.pdf

SOA Suite 12.1.3 Administration – Monitoring Adapters at Runtime – http://docs.oracle.com/middleware/1213/soasuite/administer/adapter-monitor-runtime.htm#CACFICDJ

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>