Bugs item #923433, was opened at 2004-03-25 20:24
Message generated for change (Comment added) made by wolfftw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=923433&group_id=22866

Category: JBossMQ
Group: v3.2
Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Todd Wolff (wolfftw)
Assigned to: Adrian Brock (ejort)
Summary: StdServerSessionPool Always Creates Topic Sessions

Initial Comment:

The create method within StdServerSessionPool always 
creates a pool of topic sesions, ie. SpyTopicSession.  

Using a non-XA connection as an example, the logic 
within create method uses instanceof to test 
connection and being that org.jboss.mq.SpyConnection 
implements both TopicConnection and QueueConnection, 
the (con instanceof QueueConnection) else if logic 
never executes.


----------------------------------------------------------------------

>Comment By: Todd Wolff (wolfftw)
Date: 2004-04-02 15:31

Message:
Logged In: YES 
user_id=839156

No. SpyQueueSession implements QueueSession and 
SpyTopicSession implements TopicSession. The logic within 
StdServerSessionPool is implemented such that the user 
cannot create a pool of QueueSessions, ie. SpyQueueSession 
is never instantiated.

----------------------------------------------------------------------

Comment By: Adrian Brock (ejort)
Date: 2004-04-01 20:56

Message:
Logged In: YES 
user_id=9459

What problem does this cause?
SpySession implements both Queue and Topic Sessions, or at least
the part that is relevent for a connection consumer.

Regards,
Adrian

----------------------------------------------------------------------

Comment By: Todd Wolff (wolfftw)
Date: 2004-03-29 16:20

Message:
Logged In: YES 
user_id=839156

Applies to 3.2.4 codebase

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=923433&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to