Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Understanding ServerSessionPool

 
faiza athar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
What is the difference b/w :
ServerSessionPool, which is used to process msgs concurrently,
and
having multiple sessions or receivers for a single queue.
Whats the benefit of this ServerSessionPool???
thanx
faiza
 
Seenu Reddy
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi faiza,
the basic diffrence between the sessionpool over queue/topic is provide convinent way to deploy asynchronous listeners to wl server with out have to set up and tear down the JMS infrastructure. for each session pool u create, weblogic allocates a thread and jms session for the message listener u provide. so weblogic handles the jms infrastructure for u, so there's no need to obtain server context, connection's,sessions or any ther jms infrastructere.
before using conside two things.
1.prticipants in a session pool consume messages concurrently so message ordering is not garunted.
2.there is no way to predict which particent in pool will recieve any given message,so session pools only used for "stateless" conversations, in which the identity of messge's recipient doesn't matter.
i hope it solves...
regards,
seenu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic