The referenced XSD file describes the payload of the event Copyright 2011

The referenced xsd file describes the payload of the

This preview shows page 408 - 419 out of 501 pages.

The referenced XSD file describes the payload of the event Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 8 the payload of the event.
Image of page 408
Event Definition Language <definitions xmlns="" XML schema <definitions xmlns targetNamespace=" Update "> <schema-import // / / namespace="" location=" xsd/updateStock.xsd "/> <event-definition name=" stockUpdated "> <content QName QName <content xmlns:ns0="" element=" ns0:UpdateStock "/> </event-definition> / i i i </definitions> Payload Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 9
Image of page 409
Event Publication Event publication information (Qname) is defined in the composite.xml file. <component name="UpdateStock" version="2.0"> <implementation.bpel src="UpdateStock.bpel"/> <business-events> < publishes xmlns:pub1=" stockUpda te " name="pub1:stockUpdated"/> name= pub1:stockUpdated /> </business-events> </component> Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 10
Image of page 410
Event Subscription Event subscription information (Qname) <component name="ReceiveEvent"> is defined in the composite.xml file. <component name ReceiveEvent > <implementation.mediator src="ReceiveEvent.mplan"/> <business-events> < subscribe // / / / xmlns:sub1=" stockUpda te " name="sub1:stockUpdated" consistency="oneAndOnlyOne" consistency oneAndOnlyOne runAsRoles="$publisher"/> </business-events> </component> Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 11
Image of page 411
Event Publication and Subscription Component Publish Subscribe Mediator Yes (Routing Rule) Yes BPEL Yes (Invoke) Yes (Receive; Pick) Human Task Yes No ADF-BC Yes (CRUD methods) No Java Application Yes No PL/SQL Yes No FMW Control Yes (for testing) No In this course, we focus on event publication and subscription in Mediator and BPEL components. Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 12
Image of page 412
Quiz Which of the following can publish events? Which of the following can publish events? (Choose all that apply.) a. BPEL component b. ADF-BC application component c. Mediator component d. Human task component Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 13
Image of page 413
Agenda Overview of Events Creating and Configuring Events Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 14
Image of page 414
Creating an Event 1 2 4 3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 15
Image of page 415
Configuring a Mediator to Publish Events 1 2 3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 16
Image of page 416
Configuring a Mediator to Subscribe to Events 1 2 3 4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 13 - 17
Image of page 417
Setting Event Delivery Consistency 1 One and only one: Events are delivered in their own global transaction.
Image of page 418
Image of page 419

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture