• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JMS Resource caching

Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am using weblogic server to send and receive JMS message.

Use case is : Application A is deployed in Server A and Application B is deployed in Server B. Application A sends JMS request and Application B and receives the response (Synchronous method using Queue Receiver).

This use case is heavily used and i can expect around 2000 executions per seconds.

Because of Performance, we have cached Initial Context, Queue Sender, Queue Receiver using static variable.  Connection and session each time we are creating. But Oracle document is saying that Connection should also be cached. When we Cache the connection object, then after some time, we are getting close connection exception. Looks like cached connection has been closed by the remote weblogic server.

Please suggest how to do it or what is the best way to do it.

    Bookmark Topic Watch Topic
  • New Topic