package fr.boursorama.bus.util.broker;

/**
 * Created by florent on 31/08/15.
 */
public class BrokerUtil {

    public static String consumer(String exchangeName) {

        return String.format("rabbitmq://host/%s" +
                "?connectionFactory=#customConnectionFactory" +
                "&queue=%s", exchangeName, exchangeName);
    }
}
@@ -341,9 +341,249 @@
 ;%0A    %7D%0A
+%0A    public static String producer(String exchangeName) %7B%0A%0A        return String.format(%22rabbitmq://host/%25s%22 +%0A                %22?connectionFactory=#customConnectionFactory%22 +%0A                %22&queue=%25s%22, exchangeName, exchangeName);%0A    %7D%0A%0A
 %7D

add producer template