AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JMS Session related question

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Sony Antony
Guest





PostPosted: Wed Aug 27, 2003 6:39 pm    Post subject: JMS Session related question Reply with quote



I was reading about JMS. I noticed that both Message ( TextMessage say
) and TopicPublisher/QueueSender are both being created from Session.
Why is this so. What was the reason behind this decision by the
standards committee.
1. Is it OK to create a TextMessage from one Session and send it
through a TopicPublisher created from another Session. ( Assume in
this case that both sessions are from the same vendor/provider ). I
understand that everything related to a session will have a
serializing effect. So in this case how will the above be serialized.
with respect to the session that created the TextMessage or with
respect to the session that created the TopicPublisher.

2. Will it work if the 2 sessions in the case above are from 2
different vendors/providers. ( Can I send a TextMessage created by one
vendor's Session through a TopicPublisher that was created from
another vendor's session. ). In other words do I have to duplicate the
TextMessage, in order to write an application that acts like a bridge.

Thanks in advance
--sony
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.