THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Iteration 1: SendESMEMessage is called directly from the ECA. SendESME service has a hardcoded Stax URL with a hardcoded taken, server URL and message.
- Iteration 2: A dynamic message that contains event details is sent to SendESMEMessage
- Iteration 3: A specific service is created that calls with generic service with amessage to send as a parameter
- Iteration 4: The details for the ESME Call (Server URL, Token, etc) are made configurable via a UI.
Implementation Details
eecas.xml
<?xml version="1.0" encoding="UTF-8"?>
<- WorkEffort Keyword Indexing ECAs ->
<eca entity="Example" operation="create-store" event="return">
<action service="sendMessage" mode="sync"/>
</eca></entity-eca>