This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes need help with JMS topic publisher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "need help with JMS topic publisher " Watch "need help with JMS topic publisher " New topic
Author

need help with JMS topic publisher

Yuan Ye
Ranch Hand

Joined: Mar 05, 2003
Posts: 172
Hi. I am new to JMS. I was trying to use the sample code publish a test message on a topic. The problem is my publish client runs fine without any exception, but I can't see the message on JMX-console, the message counter for that topic is still zero. Did I miss something?
I am using Jboss3.2.6 and the system default testTopic. Below is the code:

Publisher Client:

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: need help with JMS topic publisher