Search in sources :

Example 6 with UnsettledDelivery

use of org.apache.qpid.server.protocol.v1_0.delivery.UnsettledDelivery in project qpid-broker-j by apache.

the class UnsettledDeliveryTest method setUp.

@Before
public void setUp() {
    _deliveryTag = new Binary(DATA);
    _linkEndpoint = mock(LinkEndpoint.class);
    _unsettledDelivery = new UnsettledDelivery(_deliveryTag, _linkEndpoint);
}
Also used : Binary(org.apache.qpid.server.protocol.v1_0.type.Binary) LinkEndpoint(org.apache.qpid.server.protocol.v1_0.LinkEndpoint) Before(org.junit.Before)

Aggregations

UnsettledDelivery (org.apache.qpid.server.protocol.v1_0.delivery.UnsettledDelivery)3 UnsignedInteger (org.apache.qpid.server.protocol.v1_0.type.UnsignedInteger)3 Binary (org.apache.qpid.server.protocol.v1_0.type.Binary)2 Test (org.junit.Test)2 QpidByteBuffer (org.apache.qpid.server.bytebuffer.QpidByteBuffer)1 LinkEndpoint (org.apache.qpid.server.protocol.v1_0.LinkEndpoint)1 DeliveryRegistry (org.apache.qpid.server.protocol.v1_0.delivery.DeliveryRegistry)1 OversizeFrameException (org.apache.qpid.server.protocol.v1_0.framing.OversizeFrameException)1 TransactionError (org.apache.qpid.server.protocol.v1_0.type.transaction.TransactionError)1 AmqpError (org.apache.qpid.server.protocol.v1_0.type.transport.AmqpError)1 End (org.apache.qpid.server.protocol.v1_0.type.transport.End)1 Error (org.apache.qpid.server.protocol.v1_0.type.transport.Error)1 LinkError (org.apache.qpid.server.protocol.v1_0.type.transport.LinkError)1 Role (org.apache.qpid.server.protocol.v1_0.type.transport.Role)1 SessionError (org.apache.qpid.server.protocol.v1_0.type.transport.SessionError)1 Transfer (org.apache.qpid.server.protocol.v1_0.type.transport.Transfer)1 ConnectionScopedRuntimeException (org.apache.qpid.server.util.ConnectionScopedRuntimeException)1 Before (org.junit.Before)1