[jboss-jira] [JBoss JIRA] Updated: (JBAS-1485) JMS ResourceAdapter makes unnecessary temporary delete requests
Dimitris Andreadis (JIRA)
jira-events at jboss.com
Sun Dec 17 09:59:43 EST 2006
[ http://jira.jboss.com/jira/browse/JBAS-1485?page=all ]
Dimitris Andreadis updated JBAS-1485:
-------------------------------------
Fix Version/s: JBossAS-5.0.1.CR1
(was: JBossAS-4.2.0.CR1)
Assignee: Weston Price
If Weston wants to look at it.
> JMS ResourceAdapter makes unnecessary temporary delete requests
> ---------------------------------------------------------------
>
> Key: JBAS-1485
> URL: http://jira.jboss.com/jira/browse/JBAS-1485
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMS service
> Affects Versions: JBossAS-4.0.1 Final, JBossAS-3.2.7 Final, JBossAS-4.0.1 SP1
> Reporter: Adrian Brock
> Assigned To: Weston Price
> Priority: Optional
> Fix For: JBossAS-5.0.1.CR1
>
>
> The JMS ResourceAdaptor keeps track of temporaries created on a connection
> (org.jboss.resource.adapter.jms.JMSSessionFactoryImpl)
> and deletes them.
> This is because we cannot expect the real JMS implementation to do this
> because the connection is pooled and not closed.
> However, if the user is deleting the temporaries themselves
> (good practice in terms of resource usage),
> the JMS ResourceAdapter does not know about this
> and tries to repeat the delete at connection.close();
> Solution:
> Add some wrapping processing for the temporary queues and topics
> so we can trap temporary.delete(). That way we will know we don't
> need to do it on close()
> IMPORTANT: Invocations like send() or JMSMessage.setJMSReplyTo will
> also need to trap these destinations to do the necessary wrapping/unwrapping.
> It is also possible to retrieve a temporary destination with Session.createQueue/Topic.
--
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