activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Vijlbrief (JIRA)" <>
Subject [jira] Commented: (AMQ-1150) Signature typo shows off in JMX MBean view and problem with resubscribing to durable topic + PATCH
Date Sun, 04 Feb 2007 08:06:04 GMT


Tom Vijlbrief commented on AMQ-1150:

I could reproduce the problem again, but it does not always happen.

I'll try to create a unit test.

If someone else wants to take a look at it,
you can reproduce it by running my jmstransfer program:

If you transfer a file of a few megabytes and interrupt the
durable receiver halfway then restarting it will often
block the receiver. Rebooting ActiveMQ
fixes this...

Scenario: Send the file:

jmsstream --topic topic/BigDurable --dest demo --timeout 0 /vmlinuz

Start the receiver and interrupt it:

jmsstream --topic topic/BigDurable --ident MyName --dest demo --prefix ./ --verbose
New dest: .//vmlinuz
Request: 1
Request: 2
Request: 3
CTRL-C typed here

When you restart the receiver it just hangs with 4 messages in the queue

> Signature typo shows off in JMX MBean view and problem with resubscribing to durable
topic + PATCH
> --------------------------------------------------------------------------------------------------
>                 Key: AMQ-1150
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>         Environment: Testing against current SVN version with Java1.5 on Linux
>            Reporter: Tom Vijlbrief
>         Attachments: mbean.png, SubscriptionPatch.txt
> I had a problem with durable topics. Scenario: a durable topic client is interrupted
(CTRL-C) while it is
> fetching messages from the topic. When the client is restarted it does not receive the
remaining messages!
> After stopping the broker and restarting it, the remaining messages will be delivered
when the client
> is restarted, so they are not lost.
> While investigating this I found that there is a typo in the signature of various methods
(subcription instead of subScription).
> This typo is visible in the MBeans jconsole environment. (see screendump)
> I created a patch for this (see attachment) and surprise,
> I cannot reproduce the durable topic problem...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message