public int CompareTo(Object o) { if(o is ActiveMQDestination) { return CompareTo((ActiveMQDestination) o); } return -1; }