put default of queuname in class to make it more reliable.