You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2013/12/18 15:42:07 UTC

[jira] [Closed] (APLO-343) Ack receipt not causing server to response with receipt frame

     [ 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)