activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: Apollo MQ : when sending messages in transaction, producers count keeps increasing
Date Thu, 22 Aug 2013 14:41:22 GMT
Your just talking about the statistics counters?

On Thu, Aug 22, 2013 at 8:06 AM, Namrata Patel
<namrata.patel@synergytechservices.com> wrote:
> Hello,
>
> I am using Apollo MQ Version: 1.6 with STOMP 1.2 protocol. I was trying to
> send couple of messages in an transactional manner using "BEGIN" and
> "COMMIT" stomp commands. This works as expected and all messages get to the
> queue correctly but the producers count keeps increasing. Attached
> screenshot of the Apollo admin console. The count wont go away even if i
> delete the queue. I have to stop the broker and restart for it to reset, but
> that is a bad idea for production environment.
>
> These are the set of STOMP commands that get fired in background:
>>
>> CONNECT
>> login:admin
>> passcode:password
>> accept-version:1.2
>> host:mybroker
>>
>> BEGIN
>> transaction:tx130822113902
>>
>> SEND
>> transaction:tx130822113902
>> persistent:true
>> destination:/queue/videoQ
>>
>> {"mymessage":"hello"}
>>
>> SEND
>> transaction:tx130822113902
>> persistent:true
>> destination:/queue/videoQ
>>
>> {"mymessage":"bwk2323"}
>>
>> SEND
>> transaction:tx130822113902
>> persistent:true
>> destination:/queue/videoQ
>>
>> {"mymessage":"dummy"}
>>
>>
>> COMMIT
>> transaction:tx130822113902
>> receipt:0125d425c2b845844c5532dfc4535b72
>>
>> DISCONNECT
>
>
>
>
> Do you think there is some issue with the code, as it looks pretty straight
> forward :-)
>
> Thanks.
>
> Namrata Patel
>
>
>
> Disclaimer: The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain confidential or privileged information.  If you
> are not the intended recipient or have received this email in error you are
> notified that disclosing, copying, distributing or taking any action in
> reliance on the contents of this information is strictly prohibited.



-- 
Hiram Chirino

Engineering | Red Hat, Inc.

hchirino@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo

Mime
View raw message