0 Replies Latest reply on Feb 6, 2017 1:18 PM by Lovin_JV

    Create a single socket connection in mdb

    Lovin_JV

      IDE - jdeveloper 11.1.1.7

      Weblogic server 10.3


      I have a EJB deployed to weblogic server which reads messages received in JMS queue. The messages are pushed to JMS queue from an adf applciation deployed in same weblogic server.

       

      My requirement - I need to read the messages and parse the data and send it to a server using socket connection from mdb. The server accepts a persistence connection and does not accept a new connection until the existing connection is killed or else it throws connection refuse exception. The connection made should be static or singleton for every message received in mdb

       

      Is there any design for that.