Hi,
Sorry for the late reply. The STOMP spec does not explicitly define a way to finely control the flow of messages of a subscription but implementations are free add extensions to support that functionality. For example, the Apollo STOMP server has a "Subscription Flow Control" feature documented at:
It basically lets you setup a credit window when the subscription is first created. Adding a 'credit:1' header to your subscription will make Apollo behave like a Websphere MQ server in that it will only deliver one message at a time (until it gets acked).
On Wed, Jan 4, 2012 at 3:39 AM,
cwb...@sina.com <cwb...@sina.com> wrote:
how can i get one message only,but not listen for all the
message ,just like IBM Websphere MQ's function:MQGET