protected void emptyReplyQueue() throws Exception
{
final MuleClient client = new MuleClient(muleContext);
MuleTransactionConfig tc = new MuleTransactionConfig();
tc.setFactory(new JmsTransactionFactory());
tc.setAction(TransactionConfig.ACTION_ALWAYS_BEGIN);
TransactionTemplate<Void> tt = new TransactionTemplate<Void>(tc, muleContext);
tt.execute(new TransactionCallback<Void>()
{
public Void doInTransaction() throws Exception