[jboss-dev-forums] [Design of JCA on JBoss] - JBCTS-588
weston.price@jboss.com
do-not-reply at jboss.com
Wed May 9 22:05:27 EDT 2007
Moving comments here. So far:
anonymous wrote :
|
| We are not throwing the correct exception (IllegalStateException) for these methods when used inappropriately ie attempting to call createDurableSubscriber on a QueueSession. Instead we are simply allowing the CCE to bubble up. The JMS/JCA adapter needs to be reworked to allow for this.
|
| This is not a classloading issue.
|
The real issue is that we attempt to cast the underlying Session depending upon the method (queue or topic API). According to the JMS spec, it is the provider that should be throwing the IllegalStateException not necessarily us. The problem is, the JCA adapter never lets things get this far and results in a CCE.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044556#4044556
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044556
More information about the jboss-dev-forums
mailing list