[jboss-dev-forums] [Design of POJO Server] - JBAS-5259, JMS Destination Names is showing as QueueServiceM

scott.stark@jboss.org do-not-reply at jboss.com
Thu Mar 6 01:52:10 EST 2008


I don't see this problem in the JmsDestinationUnitTestCase which was updated to validate that the retrieved ManagedComponent.getName() value matches the jndiName property used to create the destination:


  |    public void testCreateQueue() throws Exception
  |    {
  |       Map<String, Serializable> propValues = new HashMap<String, Serializable>();
  |       String jndiName = getName();
  |       propValues.put("JNDIName", jndiName);
  |       ComponentType type = KnownComponentTypes.JMSDestination.Queue.getType();
  |       createComponentTest("QueueTemplate", propValues, getName(),
  |          type, jndiName);
  |       ManagedComponent queue = activeView.getComponent("testCreateQueue", type);
  |       assertNotNull(queue);
  |       assertEquals("testCreateQueue", queue.getName());
  |    }
  | 

Is there something I'm missing to produce the bad name?


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

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



More information about the jboss-dev-forums mailing list