public void addMessageDestination ( final String name , final String resolvedName , final VirtualFile deploymentRoot ) { List < MessageDestinationMapping > components = messageDestinationJndiMapping . get ( name ) ; if ( components == null ) { messageDestinationJndiMapping . put ( name , components = new ArrayList < MessageDestinationMapping > ( 1 ) ) ; } components . add ( new MessageDestinationMapping ( resolvedName , deploymentRoot ) ) ; }
Add a message destination to the application