public void createNewExchange(String name, String type, boolean durable)
throws IOException, JMException, MBeanException
{
if (!getConfiguredObject().getExchangeTypeNames().contains(type))
{
throw new OperationsException("No such exchange type \""+type+"\"");
}
try
{
Map<String,Object> attributes = new HashMap<>();