This content has been marked as final.
Show 2 replies
-
1. Re: AS7 Strict on Specification?
jaikiran Jul 13, 2011 11:46 AM (in response to prasad.deshpande)1 of 1 people found this helpfulI think you would have run into the same error on even JBoss AS6 since AS6 too uses HornetQ. AS5 used to use JBoss Messaging project which might have been lenient. Looks like HornetQ is stricter in this aspect.
-
2. Re: AS7 Strict on Specification?
henk53 Jul 17, 2011 5:26 PM (in response to jaikiran)In JBoss AS 5.x you could set a property on your connection factory to switch between strict and non-strict behavior. In JBoss AS 6, this switch is gone, but java:/ConnectionFactory allows the stuff that Section 6.6 of the ancient J2EE 1.4 spec forbids, while java:/JmsXA doesn't.
If I'm not mistaken, java:/ConnectionFactory is not pooled (and thus "your performance will suck"*), while java:/JmsXA is pooled.
(* famous quote from a JBoss JMS faq )