Get an Oracle E-Mail notification via User Messaging Service Running before your coffee gets cold

I often get asked to help developers with setting up UMS, but in fact mostly focusing on the SMTP server.

In the next steps I will show how you can setup a HelloWorld notification Service with reviewing the results in less than five minutes.

Prerequisites:

Installed SOA or BPM Quickstart. See Danilos post for details : https://thecattlecrew.wordpress.com/2014/06/28/oracle-bpm-12c-quick-start-installation-uncensored/

Get FakeSMTP.jar on your development machine: https://nilhcem.github.io/FakeSMTP/

Step 1 – Start WLS

Start the IntegratedWebLogicServer

Step 2 – Start the Fake SMTP

Enter in the command line:

java -jar fakeSMTP-2.0.jar

After the Application has started up click the “Start Server” button.

fake_smtp_cmd

 

fake_smtp_UI

Step 3 – Configure UMS in the Enterprise Manager

Log into EM

Edit the Email Driver Properties

ums_1

Create a new Configuration with the name localhost and the outgoing mail server localhost and save it.

ums2

Step 4 – HelloWorld Notification Composite

Create a new SOA Application with a SOA Project

bpel1

Create a Synchronous BPEL with standard settings

bpel2

bpel3

Add an UMS as a reference, add only outbound notification details, set Message as String type and wire it to the BPEL

bpel5

bpel6

Edit the BPEL Flow

Add an invoke of the UMS reference and create a new input variable for the UMS reference.

bpel7

Add an Assign before the Invoke and map the BPEL input string to the message payload.

bpel8

Deploy the composite to the application server and test your service via EM

And there you go.

finish1

finish2

finish3

 

 

Dieser Beitrag wurde unter BPM & System Integration abgelegt und mit , , , , verschlagwortet. Setze ein Lesezeichen auf den Permalink.

Eine Antwort zu Get an Oracle E-Mail notification via User Messaging Service Running before your coffee gets cold

  1. Ashwini schreibt:

    If we do not set the workflow settings, email will not be sent?
    For me instance is getting created for soa composite, but mail is not being sent.. Please help

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s