[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1620) Be able to intercept the onclose of a client.

Jay Howell (JIRA) jira-events at lists.jboss.org
Thu May 7 14:46:47 EDT 2009


Be able to intercept the onclose of a client.
---------------------------------------------

                 Key: JBMESSAGING-1620
                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1620
             Project: JBoss Messaging
          Issue Type: Feature Request
    Affects Versions: 1.4.0.SP3.CP07
            Reporter: Jay Howell
            Assignee: Tim Fox
             Fix For: 1.4.0.SP3.CP08


There is a need to be able to have the close aspect called when connections are closed.  This is done through the connection advised set forth in the aop-messaging-server.xml file.  The example would look like...


<bind pointcut="execution(* org.jboss.jms.server.endpoint.advised.ConnectionAdvised->close(..))">
      <interceptor-ref name="com.acme.close.interceptor"/>
 </bind> 

<bind pointcut="execution(* org.jboss.jms.server.endpoint.advised.ConnectionAdvised->closing(..))">
      <interceptor-ref name="com.acme.close.interceptor"/>
 </bind> 

Currently this is not posible because the connections that are closed aren't wrapped in a ConnectionAdvised.

This was never promised as a feature of JBM, but it is useful for some to know when a client connection is closed.  



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list