You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2007/08/16 07:07:22 UTC

[jira] Created: (CAMEL-107) JournalRouteTest failure due to missing cleanup

JournalRouteTest failure due to missing cleanup
-----------------------------------------------

                 Key: CAMEL-107
                 URL: https://issues.apache.org/activemq/browse/CAMEL-107
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-activemq
            Reporter: Hadrian Zbarcea
            Assignee: Hadrian Zbarcea
         Attachments: camel-journal.patch

org.apache.camel.component.activemq.JournalRouteTest fails due to accumulation of messages and no cleanup.

The attached patch fixes the test by creating and cleaning up an AsyncDataManager.  The JournalEndpoint does not expose its inner AsyncDataManager nor does it provide a cleanup method.  So the cleanup has to be done manually via activemq api.  Is that sufficient?


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


[jira] Assigned: (CAMEL-107) JournalRouteTest failure due to missing cleanup

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino reassigned CAMEL-107:
-----------------------------------

    Assignee: Hiram Chirino  (was: Hadrian Zbarcea)

> JournalRouteTest failure due to missing cleanup
> -----------------------------------------------
>
>                 Key: CAMEL-107
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-107
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-activemq
>            Reporter: Hadrian Zbarcea
>            Assignee: Hiram Chirino
>         Attachments: camel-journal.patch
>
>
> org.apache.camel.component.activemq.JournalRouteTest fails due to accumulation of messages and no cleanup.
> The attached patch fixes the test by creating and cleaning up an AsyncDataManager.  The JournalEndpoint does not expose its inner AsyncDataManager nor does it provide a cleanup method.  So the cleanup has to be done manually via activemq api.  Is that sufficient?

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


[jira] Commented: (CAMEL-107) JournalRouteTest failure due to missing cleanup

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39986 ] 

Hiram Chirino commented on CAMEL-107:
-------------------------------------

Hi.. the test case should consume the message. so there should be no accumulation of messages.

There was a bug in the ActiveMQ journal code where the mark was not being store properly but this has now been committed.  Hadrian, could you check to see if the reported bug goes away if you run it against a freshly built SNAPSHOT?

Thanks,
Hiram

> JournalRouteTest failure due to missing cleanup
> -----------------------------------------------
>
>                 Key: CAMEL-107
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-107
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-activemq
>            Reporter: Hadrian Zbarcea
>            Assignee: Hiram Chirino
>         Attachments: camel-journal.patch
>
>
> org.apache.camel.component.activemq.JournalRouteTest fails due to accumulation of messages and no cleanup.
> The attached patch fixes the test by creating and cleaning up an AsyncDataManager.  The JournalEndpoint does not expose its inner AsyncDataManager nor does it provide a cleanup method.  So the cleanup has to be done manually via activemq api.  Is that sufficient?

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


[jira] Commented: (CAMEL-107) JournalRouteTest failure due to missing cleanup

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39987 ] 

Hadrian Zbarcea commented on CAMEL-107:
---------------------------------------

Hi, I can confirm that the test runs fine now both in a clean local copy and during subsequent runs.  
Thanks,
hz

> JournalRouteTest failure due to missing cleanup
> -----------------------------------------------
>
>                 Key: CAMEL-107
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-107
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-activemq
>            Reporter: Hadrian Zbarcea
>            Assignee: Hiram Chirino
>         Attachments: camel-journal.patch
>
>
> org.apache.camel.component.activemq.JournalRouteTest fails due to accumulation of messages and no cleanup.
> The attached patch fixes the test by creating and cleaning up an AsyncDataManager.  The JournalEndpoint does not expose its inner AsyncDataManager nor does it provide a cleanup method.  So the cleanup has to be done manually via activemq api.  Is that sufficient?

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


[jira] Resolved: (CAMEL-107) JournalRouteTest failure due to missing cleanup

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved CAMEL-107.
---------------------------------

    Resolution: Cannot Reproduce

> JournalRouteTest failure due to missing cleanup
> -----------------------------------------------
>
>                 Key: CAMEL-107
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-107
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-activemq
>            Reporter: Hadrian Zbarcea
>            Assignee: Hiram Chirino
>         Attachments: camel-journal.patch
>
>
> org.apache.camel.component.activemq.JournalRouteTest fails due to accumulation of messages and no cleanup.
> The attached patch fixes the test by creating and cleaning up an AsyncDataManager.  The JournalEndpoint does not expose its inner AsyncDataManager nor does it provide a cleanup method.  So the cleanup has to be done manually via activemq api.  Is that sufficient?

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


[jira] Updated: (CAMEL-107) JournalRouteTest failure due to missing cleanup

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-107:
----------------------------------

    Fix Version/s: 1.2.0

> JournalRouteTest failure due to missing cleanup
> -----------------------------------------------
>
>                 Key: CAMEL-107
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-107
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-activemq
>            Reporter: Hadrian Zbarcea
>            Assignee: Hiram Chirino
>             Fix For: 1.2.0
>
>         Attachments: camel-journal.patch
>
>
> org.apache.camel.component.activemq.JournalRouteTest fails due to accumulation of messages and no cleanup.
> The attached patch fixes the test by creating and cleaning up an AsyncDataManager.  The JournalEndpoint does not expose its inner AsyncDataManager nor does it provide a cleanup method.  So the cleanup has to be done manually via activemq api.  Is that sufficient?

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