Package com.arjuna.wst.tests.junit.TestCompletionCoordinatorProcessor

Examples of com.arjuna.wst.tests.junit.TestCompletionCoordinatorProcessor.CompletionCoordinatorDetails


        final String messageId = "testSendCommit" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(completionCoordinatorService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        CompletionCoordinatorClient.getClient().sendCommit(addressingContext, instanceIdentifier) ;
       
        final CompletionCoordinatorDetails details = testCompletionCoordinatorProcessor.getCompletionCoordinatorDetails(messageId, 10000) ;
       
        assertTrue(details.hasCommit()) ;
    }
View Full Code Here


        final String messageId = "testSendRollback" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(completionCoordinatorService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        CompletionCoordinatorClient.getClient().sendRollback(addressingContext, instanceIdentifier) ;
       
        final CompletionCoordinatorDetails details = testCompletionCoordinatorProcessor.getCompletionCoordinatorDetails(messageId, 10000) ;
       
        assertTrue(details.hasRollback()) ;
    }
View Full Code Here

        final String messageId = "testSendCommit" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(completionCoordinatorService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        CompletionCoordinatorClient.getClient().sendCommit(addressingContext, instanceIdentifier) ;
       
        final CompletionCoordinatorDetails details = testCompletionCoordinatorProcessor.getCompletionCoordinatorDetails(messageId, 10000) ;
       
        assertTrue(details.hasCommit()) ;
    }
View Full Code Here

        final String messageId = "testSendRollback" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(completionCoordinatorService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        CompletionCoordinatorClient.getClient().sendRollback(addressingContext, instanceIdentifier) ;
       
        final CompletionCoordinatorDetails details = testCompletionCoordinatorProcessor.getCompletionCoordinatorDetails(messageId, 10000) ;
       
        assertTrue(details.hasRollback()) ;
    }
View Full Code Here

TOP

Related Classes of com.arjuna.wst.tests.junit.TestCompletionCoordinatorProcessor.CompletionCoordinatorDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.