SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Tutorial: Use of Event Delivery Network (EDN)
 and POProcessing
 Let's try out a simple EDN use case. We will extend a POProcessing example.

         In order to follow the tutorial in this article you must have installed the product and learned how
         to use the WebLogic console to configure the JMS adapter and define queues and connection
         factories.
 To illustrate the usage of events, you modify the existing POProcessing composite to accept new orders from
 two sources: the Web Service interface, which you have already implemented, and another application that will
 publish events to indicate new orders.
 Modifying the composite to consume events
 In this step, you modify the POProcessing composite to use EDN. You add a new mediator component
 called receivePO, which subscribes to an event called NewPO and sends the received PO to
 the routePOservice.
 Defining the event
1.   Open the POProcessing application in JDeveloper and open composite.xml,and click on the Event
     Definition Creation icon:




2.   In the Event Definition Creationwindow, enter POEvents as the name of the event definition. Accept the
     namespace value generated.


            Event names are fully qualified names, which means the combination of a namespace and
            the event name together identify a unique event. For instance, the event called
            NewCustomerAdded with name space http://schemas.oracle.com/events/edl/POEvents is
            different than the event with the same name but under a different namespace, for example,
            event NewCustomerAdded with namespace
            http://schemas.oracle.com/event/edl/CRMEvents.
3.   Add a new event by clicking on the +icon.
4.   Select the PuchaseOrder element from the po.xsd file using the chooser.
5.   Enter NewPO as the name of the event and click on OK to close the Add an Eventwindow.
6.   Click on OK to complete the event definition.
7.   Close the POEvents.edl panel.
8.   Save all.
         You have just created a new event called POEvent. It is now available to this and other
         composites to subscribe to or publish. Whenever this event is delivered,it will also carry with it a
         document for the new purchase order.
 Subscribing to the NewPO event
1.   Drag-and-drop a Mediator component on to the composite.
2.   Name the mediator receiveNewPO.
3.   Select Subscribe to Events for the Template.
4.   Click on the + to add an event. Select the NewPO event from the Event Chooser window.
5.   Click on OK to accept and create the mediator.
6.   Save all.
7.   Connect the receiveNewPO mediator to the routePO mediator:
8.   Double-click on the receiveNewPO mediator and define a new transformation map. In the transformation-
     map, map the all the fields from the source to the target.
9.   Close the mediator and save all.
 Deploying and testing
1.   Deploy the POProcessing composite tothe server.
2.   Browse to the EM console at http://localhost:7001/em.
3.   Right-click on folder soa-infra (soa_server1)under folder SOA:




4.   Click on item Business Events.
5.   You should see the Business Events management page with the NewPO event listed in the Events
6.   Select the event and click on the Test…button to publish the event.
7.   In the pop-up window, enter the following XML and click on Publish:


            <PurchaseOrder xmlns="http://xmlns.oracle.com/ns/order">
            <CustID>1111</CustID>
            <ID>33412</ID>
            <productName>Sony Bluray DVD Player</productName>
            <itemType>Electronics</itemType>
            <price>350</price>
            <quantity>5</quantity>
            <status>Initial</status>
            <ccType>Mastercard</ccType>
            <ccNumber>1234-1234-1234-1234</ccNumber>
            </PurchaseOrder>

8.   You should get a "The Event published successfully" message.
9.   Click on soa-infra in the navigation panel on the left to get the soa-infra dashboard.
10. Click on the POProcessing composite to view new instances. You should see an instance created for
     processing the event you just published. Click on the instance ID to view the flowtrace.




         This was just one way of publishing an event and will typically be used as away to test the
         composite. In most cases, the events will be published from a number of sources—from a
Mediator, from PL/SQL by calling the EDN_PUBLISH_EVENT stored function or from a Java
       class using the EDNAPI. An ADF-BC application can also publish events based on database
       insert, update, and delete operations.

Summary
You cannot really build comprehensive SOA applications without business events. Traditionally, this
requirement has been fulfilled by message-oriented-middleware(MOM). However, MOM-based solutions
don't necessarily fit very well within a service-oriented architecture. They are low-level technical solutions that
provide no business semantics, whereas one of the main objectives of creating services is to provide business
functions using semantics that are better understood by business analysts.
With EDN, Oracle SOA Suite 11g fills this gap by providing an event-handling solution that allows creation and
use of events using business semantics, without the publisher or subscriber of the event ever having to worry
about the mechanics of messaging.

As you have seen in this short lab, events are created in away that directly maps to actual business events, in
this case creation of a new purchase order. The process of subscribing to this event was done declaratively
without having to configure any messaging queues or topics.

Weitere ähnliche Inhalte

Andere mochten auch

Differeniation
DiffereniationDiffereniation
DiffereniationMeganbri03
 
Osb developer's guide
Osb developer's guideOsb developer's guide
Osb developer's guideHarish B
 
Things to consider in the learning
Things to consider in the learningThings to consider in the learning
Things to consider in the learningepafroditus
 
Beyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPTBeyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPTMarcJScott
 
Senior Project 12 pics.
Senior Project 12 pics.Senior Project 12 pics.
Senior Project 12 pics.Selena Maddox
 
Records and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management ServicesRecords and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management ServicesMCS Management Services
 
A Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management ServicesA Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management ServicesMCS Management Services
 
Considerations of a Business Partnership
Considerations of a Business PartnershipConsiderations of a Business Partnership
Considerations of a Business PartnershipJoseph Treff
 
Records & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management ServicesRecords & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management ServicesMCS Management Services
 
Differeniation
DiffereniationDiffereniation
DiffereniationMeganbri03
 
Be Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital TransformationBe Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital TransformationFintricity
 
Secure Elements in Web Applications
Secure Elements in Web ApplicationsSecure Elements in Web Applications
Secure Elements in Web ApplicationsOlivier Potonniée
 

Andere mochten auch (18)

Differeniation
DiffereniationDiffereniation
Differeniation
 
Osb developer's guide
Osb developer's guideOsb developer's guide
Osb developer's guide
 
Efectos tardios quimioterapia
Efectos tardios quimioterapiaEfectos tardios quimioterapia
Efectos tardios quimioterapia
 
Things to consider in the learning
Things to consider in the learningThings to consider in the learning
Things to consider in the learning
 
Herba LIfe
Herba LIfeHerba LIfe
Herba LIfe
 
Beyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPTBeyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPT
 
Senior Project 12 pics.
Senior Project 12 pics.Senior Project 12 pics.
Senior Project 12 pics.
 
Records and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management ServicesRecords and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management Services
 
Faults
FaultsFaults
Faults
 
A Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management ServicesA Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management Services
 
Considerations of a Business Partnership
Considerations of a Business PartnershipConsiderations of a Business Partnership
Considerations of a Business Partnership
 
Records & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management ServicesRecords & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management Services
 
Poaching
PoachingPoaching
Poaching
 
Poaching
PoachingPoaching
Poaching
 
2012 Jdivanna
2012   Jdivanna2012   Jdivanna
2012 Jdivanna
 
Differeniation
DiffereniationDiffereniation
Differeniation
 
Be Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital TransformationBe Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital Transformation
 
Secure Elements in Web Applications
Secure Elements in Web ApplicationsSecure Elements in Web Applications
Secure Elements in Web Applications
 

Ähnlich wie Event driven network

Ähnlich wie Event driven network (20)

Bpmedn
BpmednBpmedn
Bpmedn
 
Bpm edn
Bpm ednBpm edn
Bpm edn
 
Bpm
BpmBpm
Bpm
 
Bpmnt-102-edn-integration
Bpmnt-102-edn-integrationBpmnt-102-edn-integration
Bpmnt-102-edn-integration
 
EVENT DELIVERY
EVENT DELIVERY EVENT DELIVERY
EVENT DELIVERY
 
Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2
 
OpenWhisk Lab
OpenWhisk Lab OpenWhisk Lab
OpenWhisk Lab
 
Adapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedureAdapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedure
 
Homestead Weather workshop
Homestead Weather workshopHomestead Weather workshop
Homestead Weather workshop
 
Demonstrating caf.doc
Demonstrating caf.docDemonstrating caf.doc
Demonstrating caf.doc
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
TibcoBE-Development
TibcoBE-DevelopmentTibcoBE-Development
TibcoBE-Development
 
Soa8
Soa8Soa8
Soa8
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Getting started-with-oracle-so a-viii
Getting started-with-oracle-so a-viiiGetting started-with-oracle-so a-viii
Getting started-with-oracle-so a-viii
 
Test script
Test scriptTest script
Test script
 
Build Your First Real-time App with the Streaming API
Build Your First Real-time App with the Streaming APIBuild Your First Real-time App with the Streaming API
Build Your First Real-time App with the Streaming API
 
Open microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutletOpen microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutlet
 
Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
 

Kürzlich hochgeladen

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Kürzlich hochgeladen (20)

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

Event driven network

  • 1. Tutorial: Use of Event Delivery Network (EDN) and POProcessing Let's try out a simple EDN use case. We will extend a POProcessing example. In order to follow the tutorial in this article you must have installed the product and learned how to use the WebLogic console to configure the JMS adapter and define queues and connection factories. To illustrate the usage of events, you modify the existing POProcessing composite to accept new orders from two sources: the Web Service interface, which you have already implemented, and another application that will publish events to indicate new orders. Modifying the composite to consume events In this step, you modify the POProcessing composite to use EDN. You add a new mediator component called receivePO, which subscribes to an event called NewPO and sends the received PO to the routePOservice. Defining the event 1. Open the POProcessing application in JDeveloper and open composite.xml,and click on the Event Definition Creation icon: 2. In the Event Definition Creationwindow, enter POEvents as the name of the event definition. Accept the namespace value generated. Event names are fully qualified names, which means the combination of a namespace and the event name together identify a unique event. For instance, the event called NewCustomerAdded with name space http://schemas.oracle.com/events/edl/POEvents is different than the event with the same name but under a different namespace, for example, event NewCustomerAdded with namespace http://schemas.oracle.com/event/edl/CRMEvents. 3. Add a new event by clicking on the +icon. 4. Select the PuchaseOrder element from the po.xsd file using the chooser. 5. Enter NewPO as the name of the event and click on OK to close the Add an Eventwindow.
  • 2. 6. Click on OK to complete the event definition. 7. Close the POEvents.edl panel. 8. Save all. You have just created a new event called POEvent. It is now available to this and other composites to subscribe to or publish. Whenever this event is delivered,it will also carry with it a document for the new purchase order. Subscribing to the NewPO event 1. Drag-and-drop a Mediator component on to the composite. 2. Name the mediator receiveNewPO. 3. Select Subscribe to Events for the Template. 4. Click on the + to add an event. Select the NewPO event from the Event Chooser window.
  • 3. 5. Click on OK to accept and create the mediator. 6. Save all. 7. Connect the receiveNewPO mediator to the routePO mediator:
  • 4. 8. Double-click on the receiveNewPO mediator and define a new transformation map. In the transformation- map, map the all the fields from the source to the target. 9. Close the mediator and save all. Deploying and testing 1. Deploy the POProcessing composite tothe server. 2. Browse to the EM console at http://localhost:7001/em. 3. Right-click on folder soa-infra (soa_server1)under folder SOA: 4. Click on item Business Events. 5. You should see the Business Events management page with the NewPO event listed in the Events
  • 5. 6. Select the event and click on the Test…button to publish the event. 7. In the pop-up window, enter the following XML and click on Publish: <PurchaseOrder xmlns="http://xmlns.oracle.com/ns/order"> <CustID>1111</CustID> <ID>33412</ID> <productName>Sony Bluray DVD Player</productName> <itemType>Electronics</itemType> <price>350</price> <quantity>5</quantity> <status>Initial</status> <ccType>Mastercard</ccType> <ccNumber>1234-1234-1234-1234</ccNumber> </PurchaseOrder> 8. You should get a "The Event published successfully" message. 9. Click on soa-infra in the navigation panel on the left to get the soa-infra dashboard. 10. Click on the POProcessing composite to view new instances. You should see an instance created for processing the event you just published. Click on the instance ID to view the flowtrace. This was just one way of publishing an event and will typically be used as away to test the composite. In most cases, the events will be published from a number of sources—from a
  • 6. Mediator, from PL/SQL by calling the EDN_PUBLISH_EVENT stored function or from a Java class using the EDNAPI. An ADF-BC application can also publish events based on database insert, update, and delete operations. Summary You cannot really build comprehensive SOA applications without business events. Traditionally, this requirement has been fulfilled by message-oriented-middleware(MOM). However, MOM-based solutions don't necessarily fit very well within a service-oriented architecture. They are low-level technical solutions that provide no business semantics, whereas one of the main objectives of creating services is to provide business functions using semantics that are better understood by business analysts. With EDN, Oracle SOA Suite 11g fills this gap by providing an event-handling solution that allows creation and use of events using business semantics, without the publisher or subscriber of the event ever having to worry about the mechanics of messaging. As you have seen in this short lab, events are created in away that directly maps to actual business events, in this case creation of a new purchase order. The process of subscribing to this event was done declaratively without having to configure any messaging queues or topics.