You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Clayton Clark (JIRA)" <ji...@apache.org> on 2008/06/23 20:23:00 UTC

[jira] Created: (CAMEL-630) Logical Queue Support

Logical Queue Support
---------------------

                 Key: CAMEL-630
                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-ibatis
            Reporter: Clayton Clark
         Attachments: IBatisQueue.txt

Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Clayton Clark updated CAMEL-630:
--------------------------------

    Attachment:     (was: IBatisQueue.txt)

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>            Reporter: Clayton Clark
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Assigned: (CAMEL-630) Logical Queue Support

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

Hadrian Zbarcea reassigned CAMEL-630:
-------------------------------------

    Assignee: Hadrian Zbarcea

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.0.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Clayton Clark updated CAMEL-630:
--------------------------------

    Attachment:     (was: IBatisQueue.txt)

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>            Reporter: Clayton Clark
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Commented: (CAMEL-630) Logical Queue Support

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47596#action_47596 ] 

Claus Ibsen commented on CAMEL-630:
-----------------------------------

We need this documented on the wiki how to use this logical queue support. I will create a sub ticket for this task

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.0.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Resolved: (CAMEL-630) Logical Queue Support

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

Hadrian Zbarcea resolved CAMEL-630.
-----------------------------------

    Resolution: Fixed

Patch applied with many thanks to Clark.

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.0.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Commented: (CAMEL-630) Logical Queue Support

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

Hadrian Zbarcea commented on CAMEL-630:
---------------------------------------

Great patch.  The api in 2.0 changed a bit so some of this should be updated.  I'll look into it.

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.0.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Clayton Clark updated CAMEL-630:
--------------------------------

    Attachment: IBatisQueue.txt

Diff was missing some classes

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>            Reporter: Clayton Clark
>         Attachments: IBatisQueue.txt, IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Clayton Clark updated CAMEL-630:
--------------------------------

    Attachment: IBatisQueue.txt

Added unit test.
Using ObjectHelper for class loading.

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>             Fix For: 1.5.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Clayton Clark updated CAMEL-630:
--------------------------------

    Attachment: IBatisQueue.txt

Granted apache license to patch.

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>            Reporter: Clayton Clark
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Clayton Clark updated CAMEL-630:
--------------------------------

    Attachment:     (was: IBatisQueue.txt)

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>             Fix For: 1.5.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Commented: (CAMEL-630) Logical Queue Support

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43669#action_43669 ] 

Claus Ibsen commented on CAMEL-630:
-----------------------------------

Clayton. 

Can you describe what you mean with "Logical queue support"? I am a bit confused what your patch improves to iBatis?
And could you add some more unit tests to your patch as well?

At first glance it looks like a good patch with good documentation etc.

The classloading should use the util classes from Camel = ObjectHelper.loadClass and there is also a method to create a new instance.


> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>             Fix For: 1.5.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Updated: (CAMEL-630) Logical Queue Support

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

Claus Ibsen updated CAMEL-630:
------------------------------

        Fix Version/s: 1.5.0
    Affects Version/s: 1.4.0

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>             Fix For: 1.5.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Reopened: (CAMEL-630) Logical Queue Support

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

Claus Ibsen reopened CAMEL-630:
-------------------------------


> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.0.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Commented: (CAMEL-630) Logical Queue Support

Posted by "Clayton Clark (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43682#action_43682 ] 

Clayton Clark commented on CAMEL-630:
-------------------------------------

This update allows you to treat a database table as a logical queue.  Current, the Ibatis consumer polls a database and delivers the messages to the route, but there is no way to update that message as complete/processed/whatever once it has been delivered.  The route could be configured to deliver the message to another Ibatis processor that then updates the record, but that can be problematic.

In a nutshell it allows you to set an "onConsume" statement that will be called after the message has been processed.  The intent is to have support similar to the jpa component "consumeDelete" option (http://activemq.apache.org/camel/jpa.html).
 

I meant to include some unit tests.  Sorry I'm struggling a bit with making diffs ;)

I'll update to use the ObjectHelper for class loading.




> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>             Fix For: 1.5.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Commented: (CAMEL-630) Logical Queue Support

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43683#action_43683 ] 

Claus Ibsen commented on CAMEL-630:
-----------------------------------

Clayton, thanks for the info. Is now clear to me.

The unit tests can be added separately (doesn't have to be in patch format)

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>             Fix For: 1.5.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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


[jira] Resolved: (CAMEL-630) Logical Queue Support

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

Claus Ibsen resolved CAMEL-630.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

> Logical Queue Support
> ---------------------
>
>                 Key: CAMEL-630
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-630
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.4.0
>            Reporter: Clayton Clark
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.6, 2.0.0
>
>         Attachments: IBatisQueue.txt
>
>
> Adding support to treat a database table as a logical queue.

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