Search in sources :

Example 16 with TransactionalState

use of org.apache.qpid.server.protocol.v1_0.type.transaction.TransactionalState in project qpid-broker-j by apache.

the class Interaction method dispositionTransactionalState.

public Interaction dispositionTransactionalState(final Binary transactionId, final Outcome outcome) {
    TransactionalState state = new TransactionalState();
    state.setTxnId(transactionId);
    state.setOutcome(outcome);
    return dispositionState(state);
}
Also used : TransactionalState(org.apache.qpid.server.protocol.v1_0.type.transaction.TransactionalState)

Aggregations

Attach (org.apache.qpid.server.protocol.v1_0.type.transport.Attach)10 FrameTransport (org.apache.qpid.tests.protocol.v1_0.FrameTransport)9 Interaction (org.apache.qpid.tests.protocol.v1_0.Interaction)9 InteractionTransactionalState (org.apache.qpid.tests.protocol.v1_0.InteractionTransactionalState)9 Test (org.junit.Test)9 UnsignedInteger (org.apache.qpid.server.protocol.v1_0.type.UnsignedInteger)8 TransactionalState (org.apache.qpid.server.protocol.v1_0.type.transaction.TransactionalState)8 SpecificationTest (org.apache.qpid.tests.protocol.SpecificationTest)8 Disposition (org.apache.qpid.server.protocol.v1_0.type.transport.Disposition)7 Begin (org.apache.qpid.server.protocol.v1_0.type.transport.Begin)5 DeliveryState (org.apache.qpid.server.protocol.v1_0.type.DeliveryState)4 Accepted (org.apache.qpid.server.protocol.v1_0.type.messaging.Accepted)4 Open (org.apache.qpid.server.protocol.v1_0.type.transport.Open)4 QpidByteBuffer (org.apache.qpid.server.bytebuffer.QpidByteBuffer)3 Binary (org.apache.qpid.server.protocol.v1_0.type.Binary)3 Outcome (org.apache.qpid.server.protocol.v1_0.type.Outcome)3 TransactionError (org.apache.qpid.server.protocol.v1_0.type.transaction.TransactionError)3 Error (org.apache.qpid.server.protocol.v1_0.type.transport.Error)3 Transfer (org.apache.qpid.server.protocol.v1_0.type.transport.Transfer)3 Rejected (org.apache.qpid.server.protocol.v1_0.type.messaging.Rejected)2