* @param objectName the name of the queue MBean.
* @throws Exception when the creation or the registration fails.
*/
public void createQueue(ObjectName objectName) throws Exception
{
QpidDomainObjectMBean queue = new QpidDomainObject();
_mxServer.registerMBean(queue, objectName);
sendNotification(
EntityLifecycleNotification.INSTANCE_ADDED_NOTIFICATION_TYPE,
objectName);