[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JORAM Tests failing...

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Jun 19 12:33:17 EDT 2007


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



More information about the jboss-dev-forums mailing list