BasicPublishBody publish = new BasicPublishBody();
publish.exchange = new NullExchange().getName();
ContentHeaderBody header = new ContentHeaderBody();
List<ContentBody> body = new ArrayList<ContentBody>();
MessageStore messageStore = new SkeletonMessageStore();
body.add(new ContentBody());
for (int i = 0; i < count; i++)
{
for (AMQQueue q : queues)
{
q.deliver(new AMQMessage(messageStore, i, publish, header, body));