Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D90810F13 for ; Wed, 18 Dec 2013 14:43:19 +0000 (UTC) Received: (qmail 41447 invoked by uid 500); 18 Dec 2013 14:42:23 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 41326 invoked by uid 500); 18 Dec 2013 14:42:11 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 41306 invoked by uid 99); 18 Dec 2013 14:42:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Dec 2013 14:42:07 +0000 Date: Wed, 18 Dec 2013 14:42:07 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (APLO-343) Ack receipt not causing server to response with receipt frame MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino closed APLO-343. ------------------------------ Resolution: Not A Problem Assignee: Hiram Chirino STOMP does not make any guarantees about the order of responses back to the client. If you only want to receive one message at a time, add a 'credit:1' header to the subscription. For more details see: [1]: http://activemq.apache.org/apollo/documentation/stomp-manual.html#Subscription_Flow_Control > Ack receipt not causing server to response with receipt frame > ------------------------------------------------------------- > > Key: APLO-343 > URL: https://issues.apache.org/jira/browse/APLO-343 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-stomp > Affects Versions: 1.6 > Environment: Java HotSpot(TM) Server VM 1.6.0_65, SunOS 5.11 x86 > Reporter: Kirill Titov > Assignee: Hiram Chirino > > When I send ack with receipt after processing a message, next server frame is not receipt, but next message. Example log: > CONNECT > login:server > passcode:password > accept-version:1.2 > CONNECTED > version:1.2 > server:apache-apollo/1.6 > host-id:srv > session:srv-6d7d > heart-beat:100,10000 > user-id:server > SUBSCRIBE > id:1 > ack:client > activemq.prefetchSize:1 > destination:/queue/teststst > receipt:4f32319703af9916f8259d106d863e08 > RECEIPT > receipt-id:4f32319703af9916f8259d106d863e08 > MESSAGE > subscription:1 > ack:2 > message-id:dph-6d793 > destination:/queue/teststst > content-type:text/plain > receipt:980b6a023103959fcb637cfd1df7e23f > 579959bab8b2e67306858db84c8210d6 > 92d568ee775f75130a86d770fe20eb90 > 69bc6f0c3df10f7425e989f8590e01ed > ACK > id:2 > receipt:9d970d4a94e56b3ee6b0afa0a3a5d774 > MESSAGE > subscription:1 > ack:3 > message-id:dph-6d794 > destination:/queue/teststst > content-type:text/plain > receipt:4f47f25aadc0225ffc10ee099ac0abba > 85918e5f05a848dc20fd40d7990258f5 > bf686845b8662bbde96bab24afa1cc63 > bf32b48e232a5694d7b41272bc8af1d3 -- This message was sent by Atlassian JIRA (v6.1.4#6159)