objectMapper.readValue(attributes,Map.class));
}
}
catch (JsonMappingException e)
{
throw new AMQStoreException("Error recovering persistent state: " + e.getMessage(), e);
}
catch (JsonParseException e)
{
throw new AMQStoreException("Error recovering persistent state: " + e.getMessage(), e);
}
catch (IOException e)
{
throw new AMQStoreException("Error recovering persistent state: " + e.getMessage(), e);
}
finally
{
rs.close();
}