[jboss-user] [Messaging, JMS & JBossMQ] - Re: Sending Entities in Messages?

SmokingAPipe do-not-reply at jboss.com
Thu Dec 28 18:35:26 EST 2006


I have all this set up, and I'm getting:

javax.naming.NameNotFoundException: TestQueue not bound
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  |         at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  |         at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  |         at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | etc
  | 

Here's my MDB:

@MessageDriven(activationConfig =
  | {
  |     @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
  |     @ActivationConfigProperty(propertyName="destination",propertyValue="queue/TestQueue")
  | })
  | public class TestMDB implements MessageListener {

which should create teh TestQueue, right?


Any ideas on this?  As with all things JBoss, getting the configuration right is half the battle.

Thanks


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996744#3996744

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996744



More information about the jboss-user mailing list