One of the new features in SOA 11g is the event driven notifications. As the documentation
describes it is not about messaging but sending events to the SOA 11g
Server. Within a composite (SCA) you are able to define events. These
events are described in a name and the payload. The payload is based on a
message structure (XSD).
This is the EventProvider, simplied, it accepts a message that message is passed as an event to SOA 11g Server.
System A
System B
This is the EventHandler, it is subscribed to an event, then the payload is extracted and send to the files adpater (example).
If we need to add another composite, we do not need to add an routing rule, we just add the composite, transform the message and send this event to the SOA 11g Server. There is no direct routing between the EventProvider and the EventHandler! It is decoupled! An example of this code can be downloaded here. So how does it works? The provider composites and the event-handler composite must have an identical event definition. These definitions must be the same;
Note: If different composite are subscribed to the same event, all this composites will be triggered and an composite instance is created. |
Friday, May 11, 2012
SOA 11g: Event driven composites
########
at 10:03 AM
Labels: EDN, SOA, SOA Suite 11g
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment