-
1. Re: What's this JMSRecoverable?
ovidiu.feodorov May 3, 2006 11:32 AM (in response to mskonda)org.jboss.jms.tx.JMSRecoverable.
As per 1.0.1.CR1, the section of code that binds it in JNDI is commented out until XA Recovery is complete with Arjuna transaction integration. Look at ServerPeer's code, search for createRecoverable()
Also see http://jira.jboss.org/jira/browse/JBMESSAGING-200 -
2. Re: What's this JMSRecoverable?
mskonda May 3, 2006 11:44 AM (in response to mskonda)Exactly! I did see the commented part in ServerPeer and hence my confusion!!
If the code is commented out, how can the following reference appears in JNDI global name space:+- jms-recoverables (class: org.jnp.interfaces.NamingContext) | +- server.0 (class: org.jboss.jms.tx.JMSRecoverable)
unless some other service is binding this which I couldn't figure it out.
Thanks
/K -
3. Re: What's this JMSRecoverable?
mskonda May 3, 2006 11:45 AM (in response to mskonda)Also I'll appreciate if you can explain how this class is populated?
-
4. Re: What's this JMSRecoverable?
ovidiu.feodorov May 3, 2006 11:47 AM (in response to mskonda)mskonda wrote:
If the code is commented out, how can the following reference appears in JNDI global name space
Old version of Messaging? -
5. Re: What's this JMSRecoverable?
mskonda May 3, 2006 12:01 PM (in response to mskonda)I am using 1.0.0 GA.
-
6. Re: What's this JMSRecoverable?
mskonda May 3, 2006 12:04 PM (in response to mskonda)Yup, it isn't commented out in 1.0.0GA!
-
7. Re: What's this JMSRecoverable?
mskonda May 3, 2006 12:07 PM (in response to mskonda)Can you please answer my 2 and 3rd questions?
-
8. Re: What's this JMSRecoverable?
ovidiu.feodorov May 3, 2006 12:07 PM (in response to mskonda)... old version.
Things don't just magically get bound in JMS :) -
9. Re: What's this JMSRecoverable?
ovidiu.feodorov May 3, 2006 12:08 PM (in response to mskonda)For 2) and 3) you should wait for Tim to get back, he wrote it.
-
10. Re: What's this JMSRecoverable?
timfox May 7, 2006 5:50 AM (in response to mskonda)The JTA spec does not specify a standard method by which a transaction manager gets hold of an XAResource so it can call recover() on it when it wants to do XA recovery.
The JMSRecoverable is a simple class which is put into JNDI by the server on startup, and enables the transaction manager to get a handle to such an XAResource.
This is all commented out anyway, and may well disappear altogether once we integrate with JBoss Transactions, so I wouldn't worry too much about it. -
11. Re: What's this JMSRecoverable?
mskonda May 8, 2006 4:59 AM (in response to mskonda)Hello Tim, glad you are back. Ovidiu asked me to hold on until you are back.
I have taken up the task working on the integration of recovery with JBoss Transactions. I do need your input though. I'm deep down under source code of Messaging and Transactions. If you have any thoughts as to implementation, do let me know so I can finish the job quickly (Infact I must finish this job by this week so the project can go ahead with Messaging) with your help.
/K -
12. Re: What's this JMSRecoverable?
timfox May 8, 2006 5:13 AM (in response to mskonda)The messaging team is in Texas all this week, where we'll be doing a lot of planning.
We should make sure we discuss this task too.
In the mean-time why don't you put together a proposal for the design for this task and we can discuss it on the forums?
I don't think this is going to get designed and implemented by the end of the week, seems *very* optimistic to me... -
13. Re: What's this JMSRecoverable?
mskonda May 8, 2006 5:20 AM (in response to mskonda)I do understand it is optimistic. I don't need complete 100% singing and dancing xarecovery integration with jbosstx. If I can prove the concept, that'll do for the time being.
Is there any template for the design doc or shall we go with informal way? Do you want me to start a new topic on the design forum? -
14. Re: What's this JMSRecoverable?
mskonda May 8, 2006 5:21 AM (in response to mskonda)I will continue working on the task once the proof of concept is successful so it can be contributed to the community.