Actually, this is to be expected. Coming back to to your use case. From my understanding your application needs to read 1000 messages from the queue, process them, then write a record into the database to say that a batch of 1000 is complete?
If so, then why not just count the messages as you process them in the consumer and write the row into the db saying the batch is complete when you reach the count. Not sure why you need to insert counter messages... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938080#3938080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938080 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
