code: public QueuePublisher<String> createQueueTextPublisher(final String name)
      {
          Preconditions.checkState(connectionFactory != null, "connection factory was never injected!");
          return new QueuePublisher<String>(connectionFactory, amqpConfig, name, stringPublisherCallback);
      }
docs: Creates a new {@link QueuePublisher}. The Publisher accepts strings and sends them as a text message.