Examples of ParticipantManagerParticipantDetails


Examples of com.arjuna.wst.tests.junit.TestParticipantManagerParticipantProcessor.ParticipantManagerParticipantDetails

        final String messageId = "testSendExit" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(participantManagerParticipantService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        ParticipantManagerParticipantClient.getClient().sendExit(addressingContext, instanceIdentifier) ;
       
        final ParticipantManagerParticipantDetails details = testParticipantManagerParticipantProcessor.getParticipantManagerParticipantDetails(messageId, 10000) ;
       
        assertTrue(details.hasExit()) ;
    }
View Full Code Here

Examples of com.arjuna.wst.tests.junit.TestParticipantManagerParticipantProcessor.ParticipantManagerParticipantDetails

        final String messageId = "testSendCompleted" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(participantManagerParticipantService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        ParticipantManagerParticipantClient.getClient().sendCompleted(addressingContext, instanceIdentifier) ;
       
        final ParticipantManagerParticipantDetails details = testParticipantManagerParticipantProcessor.getParticipantManagerParticipantDetails(messageId, 10000) ;
       
        assertTrue(details.hasCompleted()) ;
    }
View Full Code Here

Examples of com.arjuna.wst.tests.junit.TestParticipantManagerParticipantProcessor.ParticipantManagerParticipantDetails

        final String messageId = "testSendFault" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(participantManagerParticipantService, messageId) ;
        final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
        ParticipantManagerParticipantClient.getClient().sendFault(addressingContext, instanceIdentifier) ;
       
        final ParticipantManagerParticipantDetails details = testParticipantManagerParticipantProcessor.getParticipantManagerParticipantDetails(messageId, 10000) ;
       
        assertTrue(details.hasFault()) ;
    }
View Full Code Here

Examples of com.arjuna.wst.tests.junit.TestParticipantManagerParticipantProcessor.ParticipantManagerParticipantDetails

        final SoapFaultType soapFaultType = SoapFaultType.FAULT_SENDER ;
        final QName subcode = ArjunaTXConstants.UNKNOWNERROR_ERROR_CODE_QNAME ;
        final SoapFault soapFault = new SoapFault(soapFaultType, subcode, reason) ;
        ParticipantManagerParticipantClient.getClient().sendSoapFault(addressingContext, soapFault, instanceIdentifier) ;
       
        final ParticipantManagerParticipantDetails details = testParticipantManagerParticipantProcessor.getParticipantManagerParticipantDetails(messageId, 10000) ;
        final SoapFault receivedSoapFault = details.getSoapFault() ;
       
        assertNotNull(receivedSoapFault) ;
        assertEquals(soapFaultType, receivedSoapFault.getSoapFaultType()) ;
        assertEquals(subcode, receivedSoapFault.getSubcode()) ;
        assertEquals(reason, receivedSoapFault.getReason()) ;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.