[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Invalid JORAM Test
timfox
do-not-reply at jboss.com
Tue Jun 19 13:45:30 EDT 2007
"clebert.suconic at jboss.com" wrote :
| Well... I wouldn't consider checking for getClientID an operation...
|
The JMS javadoc talks about actions on the connection:
"If a client sets the client identifier explicitly, it must do so immediately after it creates the connection and before any other action on the connection is taken. After this point, setting the client identifier is a programming error that should throw an IllegalStateException."
getClientID() is certainly an action on the connection, I don't think you can argue it is not.
Therefore it seems pretty clear to me the JORAM test is invalid
anonymous wrote :
| Ah... BTW... connection.start() is not setting the just created..
|
Well, that would be a different problem. The fix is trivial for that though.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055753#4055753
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055753
More information about the jboss-dev-forums
mailing list