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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...