activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <>
Subject [jira] Commented: (AMQ-878) JMX Exception: "Destination already created" when recovering gigantic queues from database
Date Tue, 12 Sep 2006 06:07:23 GMT
    [ ] 
james strachan commented on AMQ-878:

Could you confirm that the original issue is fixed now in 4.1?

> JMX Exception: "Destination already created" when recovering gigantic queues from database
> ------------------------------------------------------------------------------------------
>                 Key: AMQ-878
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: incubation
>         Environment: Embeded broker, Any platform (OS, JDK) - currentlly embeded in JBoss
>            Reporter: Nikolai Penkov
>         Assigned To: Hiram Chirino
>         Attachments: async-recovery.patch
> I think this issue is described in Hiram's blog:
> E.g. when broker is stopped with a lot of messages in queue. When started - recovery
process is fired (currently on creation of a queue), and if another subscriber requests queue
- it creates a new one, because previous process hasn't finished.
> I think the simpliest solution for that problem is to start recovery process in another
thread with synchronization to sent process(sent process should be suspended till full recovery
is done) and subscriber notification method (every sunscriber should be notified on recovery
of message).
> I have attached a patch to activemq-core, which I have tested with my environment - JBoss
4.0.4.GA with Embeded Broker ActiveMQ trunk release, jdbc persistence.
> I am not a spec. in threads nor in ActiveMQ design, and I am sure that you will find
a more elegant sollution to what I have provided.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message