This content has been marked as final.
Show 3 replies
-
1. Re: Adding a listner as a new service
jaikiran Jul 14, 2006 11:41 AM (in response to sxj)Why dont you use Message Driven Beans? Here's a sample MDB on JBoss:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SampleMDB -
2. Re: Adding a listner as a new service
sxj Jul 14, 2006 12:48 PM (in response to sxj)Thanks for the reply. I'll try this but I am not sure if i can run that as a service within JBoss. I have implemented MBean to be running as service but the JMS listener code gives an exception. What method shud be used to connect to the queue.
Thanks -
3. Re: Adding a listner as a new service
jaikiran Jul 17, 2006 4:07 AM (in response to sxj)but I am not sure if i can run that as a service within JBoss
Is there any specific reason, you want to run it as a service?I have implemented MBean to be running as service but the JMS listener code gives an exception.
What is the exception? Post the exception stacktrace. Also, post the relevant code.