ProtonReceiverImpl(Receiver receiver) { super(receiver); session = receiver.getSession(); sessionIncomingCapacity = session.getIncomingCapacity(); maxFrameSize = session.getConnection().getTransport().getMaxFrameSize(); windowFullThreshhold = sessionIncomingCapacity - maxFrameSize; }
ConnectionContext ctx = (ConnectionContext) link.getSession().getConnection().getContext(); try _draining++; ConnectionContext ctx = (ConnectionContext) link.getSession().getConnection().getContext(); try
ConnectionContext ctx = (ConnectionContext) link.getSession().getConnection().getContext(); try _draining++; ConnectionContext ctx = (ConnectionContext) link.getSession().getConnection().getContext(); try
recv.getSession().close(); recv.getSession().getConnection().close();
final Receiver receiver, final RoutingContext routingContext) throws Exception { message.setConnectionID(receiver.getSession().getConnection().getRemoteContainer()); invokeIncoming((AMQPMessage) message, (ActiveMQProtonRemotingConnection) transportConnection.getProtocolConnection()); serverSession.send(transaction, message, directDeliver, false, routingContext);
final Delivery delivery, final Receiver receiver) throws Exception { message.setConnectionID(receiver.getSession().getConnection().getRemoteContainer()); invokeIncoming((AMQPMessage) message, (ActiveMQProtonRemotingConnection) transportConnection.getProtocolConnection()); serverSession.send(transaction, message, false, false);
final AmqpSession session = (AmqpSession) getEndpoint().getSession().getContext(); final ConnectionId connectionId = session.getConnection().getConnectionId(); final Object action = ((AmqpValue) message.getBody()).getValue();
recv.getSession().close(); recv.getSession().getConnection().close();
final AmqpSession session = (AmqpSession) getEndpoint().getSession().getContext(); final ConnectionId connectionId = session.getConnection().getConnectionId(); final Object action = ((AmqpValue) message.getBody()).getValue();