public class CompletionCoordinatorRPCClient extends Object
Modifier and Type | Method and Description |
---|---|
static CompletionCoordinatorRPCClient |
getClient()
Get the Completion Coordinator client singleton.
|
boolean |
sendCommit(W3CEndpointReference endpoint,
MAP map)
Send a commit request.
|
boolean |
sendRollback(W3CEndpointReference endpoint,
MAP map)
Send a rollback request.
|
public boolean sendCommit(W3CEndpointReference endpoint, MAP map) throws SoapFault, IOException
map
- addressing context initialised with to and message ID.identifier
- The identifier of the initiator.SoapFault
- For any errors.IOException
- for any transport errors.public boolean sendRollback(W3CEndpointReference endpoint, MAP map) throws SoapFault, IOException
map
- addressing context initialised with to and message ID.identifier
- The identifier of the initiator.SoapFault
- For any errors.IOException
- for any transport errors.public static CompletionCoordinatorRPCClient getClient()
Copyright © 2018 JBoss by Red Hat. All rights reserved.