[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1310) Combine packethandler and message decoding

Tim Fox (JIRA) jira-events at lists.jboss.org
Tue May 27 11:55:49 EDT 2008


Combine packethandler and message decoding
------------------------------------------

                 Key: JBMESSAGING-1310
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1310
             Project: JBoss Messaging
          Issue Type: Task
            Reporter: Tim Fox
         Assigned To: Tim Fox
             Fix For: 2.0.0 Beta


Currently in the MessagingCodec, the packet is decoded in one switch statement, then in the MinaHandler the packet dispatcher is looked up, the handler is called and another switch statement is executed to find the handler method.

Instead, the handler can be looked up int the MessagingCodec and can decode the message. This can reduce extra unnecessary swicth statements.

-- 
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