In an attempt to create a multicast publish/subscribe topic, I followed the code 
example at http://www.jboss.org/developers/projects/jboss/jms/documentation/pure-p2p

I'm getting really inconsistent results running a simple producer and consumer.  

Sometimes my consumer never receives any messages sent, other times it receives a 
subset but never all of them.  I have sleep statements to make sure I first have my 
consumer listen and then the producer sends the messages at a 1hz rate.  


I'm pretty sure I configured things properly (at least everything that was mentioned 
at the URL).  I know this code has no claims it's bug-free but it's essential I get 
this working.

There were no exceptions seen on the JBoss console window or any error logs.  Is there 
any updated documentation on this feature of JBoss?  I think the article was written 
several months ago and might be dated to the current implementation.


I've attached my own output at the bottom.  Any help on this would be much 
appreciated.  Thank you.                                   



I'm using JBoss-4.0.0DR2 and my output screen is the following:


 [java] -------------------------------------------------------
 [java] GMS: address is 155.34.129.129:2389
 [java] -------------------------------------------------------

 [java] -------------------------------------------------------
 [java] GMS: address is 155.34.129.129:2391
 [java] -------------------------------------------------------

 [java] -------------------------------------------------------
 [java] GMS: address is 155.34.129.129:2393
 [java] -------------------------------------------------------

 [java] -------------------------------------------------------
 [java] GMS: address is 155.34.129.129:2395
 [java] -------------------------------------------------------
 [java] [TopicSendClient] sent a message.
 [java] [TopicRecvClient]  waiting for messages.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicRecvClient] Got a message
 [java] [EMAIL PROTECTED]
 [java] [TopicRecvClient] Got a message
 [java] [EMAIL PROTECTED]
 [java] [TopicRecvClient] Got a message
 [java] [EMAIL PROTECTED]
 [java] [TopicSendClient] sent a message.
 [java] [TopicRecvClient] Got a message
 [java] [EMAIL PROTECTED]
 [java] [TopicSendClient] sent a message.
 [java] [TopicRecvClient] Got a message
 [java] [EMAIL PROTECTED]
 [java] [TopicSendClient] sent a message.
 [java] [TopicRecvClient] Got a message
 [java] [EMAIL PROTECTED]
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.


 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.
 [java] [TopicSendClient] sent a message.






<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824975#3824975";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824975>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to