Transacties SOA Suite 12c r2

17
Transacties SOA Suite 12c R2 mei ’16

Transcript of Transacties SOA Suite 12c r2

Transacties SOA Suite 12c R2

mei ’16

Service Bus

mei ’16 2

• Stateless

• Ondersteunt transactie propagatie door: • SOA-DIRECT

• Geen WS-Atomic Transaction ondersteuning

SOA-DIRECT

mei ’16 3

• RMI protocol

• Transactie propagatie

• Matige LBR ondersteuning

Pipeline

mei ’16 4

• XA activeren op business service

• Properties • Transaction Required • Same Transaction For Response

• Routing Options • QoS: Exactly One

• Reply Fault?

SOA Composite

mei ’16 5

• Stateful

• Ondersteunt transacties propagatie door • Local optimization

• RMI binding

• WS-Atomic Transaction

Direct Binding

mei ’16 6

• Regenhanger SOA-DIRECT

• RMI protocol

• Transactie propagatie

• Matige LBR ondersteuning

WS-Atomic Transaction

mei ’16 7

Transaction Participation Exposed Service External Reference

NEVER Niet deelnemen aan transactie Transactie niet doorgeven

MANDATORY Deelnemen aan bestaande transactie of anders fout

Bestaande transactie doorgeven of anders fout

SUPPORTS Deelnemen aan bestaande transactie of nieuwe starten

Bestaande transactie doorgeven indien deze aanwezig is

WSDLDriven NA WSDL afhankelijk

Mediator

mei ’16 8

• Altijd onderdeel van globale transactie

• Alleen commit / rollback als mediator starter transactie is

• Geeft transactie altijd door

BPEL

mei ’16 9

• BPEL is stateful

• Verschillende properties sturen transactie gedrag

• Verschil tussen SYNC en ASYNC / F&F

• Transactie manager coördineert transactie

oneWayDeliveryPolicy

mei ’16 10

• async.persist

• async.cache

• sync

transaction

mei ’16 11

• required

• requiresNew

• notSupported (12c)

Transactie afhandeling bij fout

mei ’16 12

oneWayDeliveryPolicy transaction Main process Sub process

async.persist Commit Rollback + Recovery

async.cache Commit Rollback

sync required Rollback Rollback

sync requiresNew Commit Rollback

Dehydration

mei ’16 13

• Commit op alle openstaande transacties

• Problemen bij synchrone interactie

• Fault policies doen ook dehydration

In Memory SOA

mei ’16 14

• Geen transactie ondersteuning!

• Wegschrijven audit trail alleen faulted of deferred

Wijzigingen zien voor commit

mei ’16 15

• Niet doen?

• Mogelijk door TLOGS in database op te slaan?

• Stickiness?

WebLogic

mei ’16 16

• Transactie manager

• TLOG voor transactie recovery • Kan ook zonder!?

• Failover mogelijk

Eindhoven

De Zaale 11

5612 AJ Eindhoven

Netherlands

Utrecht

Blok D, Graadt van Roggenweg 328-334

3531 AH Utrecht

Netherlands

Sofia Bulgaria

Nikolay Haytov 12

1113 Sofia

Bulgaria

[email protected]

www.syntouch.nl