Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help with JMS topic publisher

 
Yuan Ye
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic