• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Understanding ServerSessionPool

 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic