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