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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...