Skip to content

Commit

Permalink
JBTM-1289 XTS participant completion tests should use a rendezvous to…
Browse files Browse the repository at this point in the history
… delay close until participant has completed
  • Loading branch information
paulrobinson committed Dec 17, 2012
1 parent 74b1b7f commit 341b82e
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,7 +1,7 @@
RULE create counter
CLASS org.jboss.jbossts.xts.bytemanSupport.participantCompletion.ParticipantCompletionCoordinatorRules
METHOD setParticipantCount(Integer)
BIND counter:Integer=$1, disabled:boolean=false
BIND counter:Integer=$1
IF TRUE
DO debug("participant_completion.counter.create: " + counter),
deleteCounter("completes"),
Expand All @@ -10,8 +10,8 @@ DO debug("participant_completion.counter.create: " + counter),
ENDRULE

RULE complete called
CLASS com.arjuna.webservices11.wsba.sei.BusinessAgreementWithParticipantCompletionCoordinatorPortTypeImpl
METHOD completedOperation(NotificationType)
CLASS com.arjuna.wst11.messaging.engines.ParticipantCompletionCoordinatorEngine
METHOD completed(NotificationType, MAP, ArjunaContext)
AT RETURN
BIND NOTHING
IF (flagged("enabled") AND debug("participant_completion.counter.decrement") AND decrementCounter("completes") == 0)
Expand Down

0 comments on commit 341b82e

Please sign in to comment.