camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clayton Clark (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-630) Logical Queue Support
Date Tue, 24 Jun 2008 13:31:00 GMT

    [ 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.


Mime
View raw message