final BasicPublishBody publishBody = ((BasicPublishBody) methodBody);
final AMQShortString exchange = publishBody.getExchange();
final AMQShortString routingKey = publishBody.getRoutingKey();
return new MessagePublishInfoImpl(exchange == null ? null : exchange.intern(),
publishBody.getImmediate(),
publishBody.getMandatory(),
routingKey == null ? null : routingKey.intern(false));
}