Hi Folks,
I have an HttpServlet running within tomcat4 + Jboss-3.2.3 and I want it
to receive JMS messages.
The HttpServlet:
public class ImageServlet extends HttpServlet implements MessageListener
calls MessengerManager.configure( "ManagerJBoss.xml"); in its init().
I am using the standard MessengerJBoss.xml, and I have included in the
subscriptions.xml a reference to the JBoss queue that I am writing to from
another application.
<?xml version="1.0" encoding="UTF-8" ?>
<subscriptions>
<subscription connection="queue" subject="queue/A">
<servlet>/web-client/ImageServlet</servlet>
</subscription>
</subscriptions>
When I try to deploy it, I get:
javax.jms.JMSException: No MessageListener is defined for subscription:
[EMAIL PROTECTED]
3fd[ connection: queue subject: queue/A servlet: /web-client/ImageServlet
If you had any ideas, I would sure love to hear them. There is not much
to go on here, if anyone had a pointer to an example HttpServlet, that
would be most cool.
Thanks!
-Joe Prosser
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]