[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Branch 1_0_XARecovery

juha@jboss.org do-not-reply at jboss.com
Fri Dec 8 08:29:51 EST 2006


"timfox" wrote : 
  | for the acks:
  | 
  | select message_id from jms_message_reference where transaction_id=? and state ="+"
  | 
  | this gives you all the message ids you want to load
  | 
  | 

Right. This was already in.

"timfox" wrote : 
  | 
  | then call persistenceManager.getMessages(List ids) to get the actual messages for those ids.
  | 
  | 

This code was duplicated in the original patch and implemented wrong.

"timfox" wrote : 
  | 
  | Then call messageStore.reference(Message m) for each of those messages - this will give you a reference for each of the messages.
  | 
  | 

Also in.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992241#3992241

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992241



More information about the jboss-dev-forums mailing list