[JBoss JIRA] Closed: (JBMESSAGING-200) Complete XA transaction recovery
by Tim Fox (JIRA)
[ http://jira.jboss.com/jira/browse/JBMESSAGING-200?page=all ]
Tim Fox closed JBMESSAGING-200.
-------------------------------
Resolution: Done
Fix Version/s: 1.2.0.Alpha1
(was: 1.2.0.Beta1)
> Complete XA transaction recovery
> --------------------------------
>
> Key: JBMESSAGING-200
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-200
> Project: JBoss Messaging
> Issue Type: Task
> Components: JMS Facade
> Reporter: Tim Fox
> Assigned To: Tim Fox
> Priority: Critical
> Fix For: 1.2.0.Alpha1
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> Complete XA transaction recovery.
> Most of the work is already in place for this.
> The remaining pars mainly revolve around integrating with Transaction Managers e.g. Arjuna (and maybe others!) so they can obtain a handle to the XAResource in order to carry out recovery.
> The mechanism for this is not specified and so will vary from Transaction Manager to transaction manager. We need to supply wrappers for each popular Transaction Manager.
> We also need to complete the tests for this. (Perhaps Arjuna already has some tests we can re-use?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months
[JBoss JIRA] Closed: (JBMESSAGING-192) Refactor Replicator so it won't be forced to provide noop implementation for Distributor's methods.
by Tim Fox (JIRA)
[ http://jira.jboss.com/jira/browse/JBMESSAGING-192?page=all ]
Tim Fox closed JBMESSAGING-192.
-------------------------------
Resolution: Done
> Refactor Replicator so it won't be forced to provide noop implementation for Distributor's methods.
> ---------------------------------------------------------------------------------------------------
>
> Key: JBMESSAGING-192
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-192
> Project: JBoss Messaging
> Issue Type: Task
> Components: Messaging Core Distributed Support
> Affects Versions: 1.0.0 alpha PR2 (clustered)
> Reporter: Ovidiu Feodorov
> Assigned To: Tim Fox
> Priority: Minor
> Fix For: 1.2.0.Alpha1
>
>
> A replicator doesn't really need to implement org.jboss.messaging.core.Router, since its receivers are remote. It only needs support for
> Set handle(DeliveryObserver observer, Routable routable, Transaction transaction)
> However, currently the easiest way to plug a Replicator into the ChannelSupport implementation is to declare it Router. Refractor this and split the Router interface (and ChannelSupport implementation) in two distinct parts: MultiReceiver (or some other name) and Distributor.
> Look for UnsupportedOperationException in org.jboss.messaging.core.distributed.replicator.Replicator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months
[JBoss JIRA] Reopened: (JBMESSAGING-361) WireFormatTest.testNullResponse(), testDeactivateResponse() fragments invalid
by Tim Fox (JIRA)
[ http://jira.jboss.com/jira/browse/JBMESSAGING-361?page=all ]
Tim Fox reopened JBMESSAGING-361:
---------------------------------
> WireFormatTest.testNullResponse(), testDeactivateResponse() fragments invalid
> -----------------------------------------------------------------------------
>
> Key: JBMESSAGING-361
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-361
> Project: JBoss Messaging
> Issue Type: Sub-task
> Components: JMS Facade
> Affects Versions: 1.0.0
> Reporter: Ovidiu Feodorov
> Assigned To: Tim Fox
> Fix For: 1.2.0.Alpha1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Switching to jboss-serialization 1.0.0.CR7 uncovered what apparently seems to be an invalid test section in WireFormatTest
> public void testNullResponse() throws Exception
> {
> MessagingMarshallable mm = new MessagingMarshallable((byte)77, null);
> InvocationResponse resp = new InvocationResponse(null, mm, false, null);
> ByteArrayOutputStream bos = new ByteArrayOutputStream();
> JBossObjectOutputStream oos = new JBossObjectOutputStream(bos);
>
> wf.write(resp, oos);
> oos.flush();
>
> ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
> DataInputStream dis = new DataInputStream(bis);
>
> // First byte should be version
> assertEquals(77, dis.readByte());
> ...........
> }
> It doesn't make sense to me to write stuff to a JBossObjectOutputStream and then try to read the serialized content using a DataInputStream, and yet this is what this test section does. JBoss Serialization doesn't guarantee this in its public contract.
> Excerpt form a conversation with Clebert:
> flanker707: Does JBossSerialization guarantee that something written with on a JBossObjectOutuptStream can be read with DataInputStream?
> Clebert Suconic: no... I didn't mean to
> flanker707: is this in the public contract?
> Clebert Suconic: If you use the same thing with ObjectInputStream.. you would have the same problem
> testNullResponse(), testDeactivateResponse() sections commented out until clarified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months