0 Replies Latest reply on Jul 30, 2002 3:41 AM by ejbclinic

    multiple P2P in same application?

    ejbclinic

      Hi gurus;
      Well i am confused how it is made possible that supose their are two sender and two reciever respectively for sender.As i send message to mdb like:
      //////////////////////////////////////////////
      QueueConnectionFactory factory = (QueueConnectionFactory)
      jndiContext.lookup("ConnectionFactory");
      Queue queue = (Queue)jndiContext.lookup("queue/testQueue");
      ///////////////////////////////////////////
      My mdb file in ejb-jar look like this
      <message-driven>
      <ejb-name>HelloMDB</ejb-name>
      <ejb-class>HelloMessageDrivenBean</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-selector></message-selector>
      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>
      As only their is one destination.
      Can any body tell how it is possible.Will be very thank ful.......................................