Another JORAM Test is failing.. but this time I think it's a bug:
I have written a similar test to testSetClientID on ConnectionTest...
public void testSetClientID2() throws Exception
| {
| Connection connection = cf.createConnection();
| if (connection.getClientID() == null)
| {
| connection.setClientID("publisherConnection");
| }
|
| connection.close();
| }
|
This is throwing "javax.jms.IllegalStateException: setClientID can only be called directly after the connection is created"
Testing for set ClientID is making something dirty.. so we can't setClientID...
http://jira.jboss.org/jira/browse/JBMESSAGING-995
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055720#4055720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055720
"dimitris(a)jboss.org" wrote : Unless there is a strong reason not to, we should really change Tx Reaper Mode to DYNAMIC, that was how the old TM behaved and how applications are coded.
All the old TM did was mark the transactions for rollback at that time, i.e., place them into a state from which they could only ever roll back. It didn't roll them back then though. That came later (potentially never), when the creating thread terminated the transaction.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055702#4055702
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055702