> 1) is it possible that one of the session dies and rest keep getting
> the data(assuming a jms reader)?? if yes, then is it possible to
> restart this session without restarting the connection itself?
Yes, as long as other sessions are alive, they can keep getting the
data. However, if the single connection that is supporting all
sessions dies, there is no way to read messages as all sessions would
die automatically.
> 2) if we create one connection par thread, can we rest assured that no
> two threads are getting the same message....i.e. no data duplication
> will be there??
If you are using Session.DUPS_OK_ACKNOWLEDGE in the session, then
there could be duplication. But if you use transactions and/or
AUTO_ACKNOWLEDGE/CLIENT_ACKNOWLEDGE, there will not be duplicates -
however you would see a drag in performance.
-cheers,
Manish