1 Reply Latest reply on Jul 22, 2005 6:42 PM by genman

    sending message to a topic from stateless session bean

    axel-s1

      hi,
      i have a problem with sending a object message to a topic destination from within a seesion bean method.
      from a client program i call a session bean method with data transfer object as parameter(actual a byte array with 5MByte) .
      in this methode i send this array as object message to a topic in the same server.
      after sendi() i close publisher,session,connection.
      but after this, the method does not return immediately but
      waits , until the subscriber message bean's onMessage() method
      is called.
      why does the session bean methode not return immediately
      after closing the TopicConnection ?

      thanks axel