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:
- Polling with Inbound Database Adapter
- Inbound JMS Adapter
- Handling Incoming Emails with Inbound UMS Adapter
These figures illustrate the components to be developed in this chapter.
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 – Praveen Vaddanam - http://soacrux.blogspot.nl/2013/11/jca-adapters-and-message-rejection.html
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