Issue Details (XML | Word | Printable)

Key: AMQ-724
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rob Davies
Reporter: Danielius Jurna
Votes: 3
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

Stomp client is not removed from the broker on client disconnect

Created: 25/May/06 05:13 PM   Updated: 12/Dec/08 04:41 AM
Return to search
Component/s: Transport
Affects Version/s: 4.0
Fix Version/s: 5.2.0

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works patch.txt 2007-01-28 06:26 AM Tom Vijlbrief 0.6 kB
Text File Licensed for inclusion in ASF works patchInactivityMonitor.txt 2007-01-30 10:30 AM Tom Vijlbrief 0.8 kB
Text File Licensed for inclusion in ASF works SessionState.patch 2006-12-04 10:45 PM Danielius Jurna 0.3 kB
Text File StompScriptComplete.txt 2007-01-29 06:25 AM Martin Ronner 0.1 kB
Text File StompScriptNoDisconnect.txt 2007-01-29 06:25 AM Martin Ronner 0.1 kB
Java Source File StompSubscriptionRemoveTest.java 2006-05-29 12:17 AM Danielius Jurna 7 kB
Image Attachments:

1. dumpemu4.png
(40 kB)
Environment: Linux, Java 1.5.0_06
Issue Links:
Duplicate
 
dependent
 

Sub-Tasks  All   Open   

 Description  « Hide
If Stomp client crashes (or disconnects unexpectedly) when there are unconsumed messages in the broker, the subscriptions are not removed from the broker and some phantom consumer is still consuming messages. If you connect other client, it receives only half messages (other half messages goes to that phantom consumer still left afrter client disconnect). There are no error logs in activemq logs. We are using stomp client, whith client acknowledge mode, so on broker restart, all messages are delivered properly. You can also see in jmx console, that subscription still exists whithout any connection left.

 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Create crucible review for this changeset in
510843 by  James Strachan (1 file)
22/Feb/07 10:04 PM (32 months, 15 days ago)