[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Some things I don't understand in the transport
timfox
do-not-reply at jboss.com
Thu Jul 10 15:20:10 EDT 2008
Looking through the code in detail as I look at the packet replication stuff, some questions spring to mind:
1) Why do we need to create multiple RemotingSession objects per RemotingConnector? Why not just use the same RemotingSession object, then RemotingConnector and RemotingSession could be combined in a single object.
2) Why do we create a new RemotingConnection object each time we create a jms connection? why not just use the same one per server? the RemotingConnection object could be stored in the connector registry. Moreover each RemotingConnection object currently starts its own pinger, this means we have one pinger per jms connection even if they are working over the same underlying tcp connection, which is unnecessary.
Seems to me our cardinalities are a bit messed up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163695#4163695
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163695
More information about the jboss-dev-forums
mailing list