Hi all, I am building a session bean which expose a synchronous mode method to its client. In other words, the client is willing to wait until there is result.
And in the jboss server, we have to use asynchronous mode for the processing (for other requirements or other method calls) . So we have implement the internal communication via JMS. I tried to use the following to receive the JMS repsonse in the session bean : TopicSession topicSession = TopicConnection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE); TopicSubscriber topicSubscriber = topicSession.createSubscriber(topic, selector, false); topicSubscriber.receive(); Then, the session bean blocks the system. I have spent a few days for the issue, still got no clue. Please help me. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916159#3916159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916159 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
