Hi all, I am trying to implement a three tier application. In which one application writes messages to a Queue, a second application reads from the Queue, and writes the result message to a Topic. a third application reads from the Topic.
I succeded in building the first two applications, and im having trouble reading messages from the Topic. There are two problems. 1) I am creating durable subscriber, with the name TestSubscriber, and every time i run the program. it is adding a new Subscriber to the Topic with the same name. My understanding was that whenever we call the createDurableSubscriber method, with the same Topic name, and subscriber name it would reactivate the same subscriber. but in the Jboss admin console, i can see a new subscriber being added to the topic every time i run the program. each subscriber has a different clientId. is this the way it works, or did i understand any thing wrong. 2)the recieve method never reads a message from the topic. Every time i added a message it increases the message count to all the subscribers, but the recieve method never reads them. if I use the non blocking recieveNoWait, it returns a null, if I use the blocking recieve it just hangs in there as it is not reading any message. what could be the problem. Any guidance will be greatly appreciated. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939696#3939696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939696 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
