0 Replies Latest reply on Sep 10, 2002 12:03 AM by Dushyant Shrivastava

    JMS connection creation and deletion

    Dushyant Shrivastava Newbie

      I have a session bean which sends a message to an external client via a JMS Q. I go through the common steps of creating a QueueConnection factory, queueConnection, session and so on. Now the way this bean sends messages out is through an exposed API method sendMessage which is invoked by a back end client.My question is do i close the connection and session each time after sending the message?