return null;
}
public void publishMessages(InternalTestProtocolSession session, AMQChannel channel, int messages) throws AMQException
{
MessagePublishInfo info = new MessagePublishInfo()
{
public AMQShortString getExchange()
{
return ExchangeDefaults.DEFAULT_EXCHANGE_NAME;
}
public void setExchange(AMQShortString exchange)
{
}
public boolean isImmediate()
{
return false;
}
public boolean isMandatory()
{
return false;
}
public AMQShortString getRoutingKey()
{
return new AMQShortString(getName());
}
};
for (int count = 0; count < messages; count++)
{
channel.setPublishFrame(info, _virtualHost.getExchangeRegistry().getExchange(info.getExchange()));
//Set the body size
ContentHeaderBody _headerBody = new ContentHeaderBody();
_headerBody.bodySize = 0;