[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-752) Create safe mode where session concurrent access is checked
Tim Fox (JIRA)
jira-events at jboss.com
Wed Jan 17 06:55:52 EST 2007
Create safe mode where session concurrent access is checked
-----------------------------------------------------------
Key: JBMESSAGING-752
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-752
Project: JBoss Messaging
Issue Type: Task
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: 1.2.1
As per JMS spec, a JMS session is supposed to be only accessed from one thread at a time.
This is so the implementor does not have to synchronize access which might degrade performance.
However, users are often unaware of this and use the session concurrent by multiple threads, resulting in subtle or hard to identify bugs.
We should create a "safeMode", where if enabled, concurrent access is checked.
safeMode should be turned on for development and off for production, so no performance penalty is incurred in production.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list