Examples of acknowledgeMessage()


Examples of org.apache.axis2.transport.RequestResponseTransport.acknowledgeMessage()

            AcknowledgementManager.sendAckNow(ackRMMsgCtx);
            msgCtx.getOperationContext().setProperty(org.apache.axis2.Constants.RESPONSE_WRITTEN, "true");
            t.signalResponseReady();
          } else {
            msgCtx.getOperationContext().setProperty(org.apache.axis2.Constants.RESPONSE_WRITTEN, "false");
            t.acknowledgeMessage(msgCtx);
          }
 
          // Mark the bean so that we know the transport is missing, and reset the send time
          bean.setTransportAvailable(false);
          bean.setTimeToSend(System.currentTimeMillis());
View Full Code Here

Examples of org.apache.axis2.transport.RequestResponseTransport.acknowledgeMessage()

        t = (RequestResponseTransport) rmMsgCtx.getProperty(RequestResponseTransport.TRANSPORT_CONTROL);

        // Tell the transport that there will be no response message
        if(t != null && RequestResponseTransportStatus.WAITING.equals(t.getStatus())) {
          TransportUtils.setResponseWritten(msgCtx, false);
          t.acknowledgeMessage(msgCtx);
        }
      }

      // if the relates to is not null then this is at the client side
      // so it is receiving a response.  We have to abort the thread in the Async case as
View Full Code Here

Examples of org.apache.axis2.transport.RequestResponseTransport.acknowledgeMessage()

        TransportUtils.setResponseWritten(msgCtx, false);

        RequestResponseTransport t = null;
        t = (RequestResponseTransport) rmMsgCtx.getProperty(RequestResponseTransport.TRANSPORT_CONTROL);
        if(t != null && RequestResponseTransportStatus.WAITING.equals(t.getStatus())) {
          t.acknowledgeMessage(msgCtx);
        }
      }
    }
   
    // If this message matches the WSRM 1.0 pattern for an empty last message (e.g.
View Full Code Here

Examples of org.apache.qpid.server.AMQChannel.acknowledgeMessage()

        {
            throw body.getChannelNotFoundException(evt.getChannelId());
        }

        // this method throws an AMQException if the delivery tag is not known
        channel.acknowledgeMessage(body.deliveryTag, body.multiple);
    }
}
View Full Code Here

Examples of org.apache.qpid.server.AMQChannel.acknowledgeMessage()

        {
            throw body.getChannelNotFoundException(channelId);
        }

        // this method throws an AMQException if the delivery tag is not known
        channel.acknowledgeMessage(body.getDeliveryTag(), body.getMultiple());
    }
}
View Full Code Here

Examples of org.apache.qpid.server.AMQChannel.acknowledgeMessage()

                               AMQMethodEvent<BasicAckBody> evt) throws AMQException
    {
        BasicAckBody body = evt.getMethod();
        final AMQChannel channel = protocolSession.getChannel(evt.getChannelId());
        // this method throws an AMQException if the delivery tag is not known
        channel.acknowledgeMessage(body.deliveryTag, body.multiple);
    }
}
View Full Code Here

Examples of org.apache.qpid.server.AMQChannel.acknowledgeMessage()

        {
            throw body.getChannelNotFoundException(channelId);
        }

        // this method throws an AMQException if the delivery tag is not known
        channel.acknowledgeMessage(body.getDeliveryTag(), body.getMultiple());
    }
}
View Full Code Here

Examples of org.apache.qpid.server.protocol.v0_8.AMQChannel.acknowledgeMessage()

        {
            throw body.getChannelNotFoundException(channelId);
        }

        // this method throws an AMQException if the delivery tag is not known
        channel.acknowledgeMessage(body.getDeliveryTag(), body.getMultiple());
    }
}
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.