@Test public void testBuildExchangeNameForAgent() { Assert.assertEquals( "d1.test.agents", RabbitMqUtils.buildExchangeNameForAgent( "d1", "test" )); Assert.assertEquals( "d2.te.agents", RabbitMqUtils.buildExchangeNameForAgent( "d2", "te" )); }
public static String buildExchangeNameForAgent( String domain, String applicationName ) { return domain + "." + applicationName + ".agents"; }
RabbitMqUtils { public static String buildExchangeNameForAgent( String domain, String applicationName ) { return domain + "." + applicationName + ".agents"; } }
RabbitMqUtils { public static String buildExchangeNameForAgent( String domain, String applicationName ) { return domain + "." + applicationName + ".agents"; } private  RabbitMqUtils(); }
RabbitMqUtils { public static String buildExchangeNameForAgent( String domain, String applicationName ) { return domain + "." + applicationName + ".agents"; } private  RabbitMqUtils(); static void configureFactory( ConnectionFactory factory, Map<String,String> configuration ); static void closeConnection( Channel channel ); static void declareApplicationExchanges( String domain, String applicationName, Channel channel ); static void declareGlobalExchanges( String domain, Channel channel ); static String buildExchangeNameForAgent( String domain, String applicationName ); static String buildExchangeNameForTheDm( String domain ); static String buildExchangeNameForInterApp( String domain ); static String buildExchangeName( MessagingContext ctx ); }
RabbitMqUtils { public static String buildExchangeNameForAgent( String domain, String applicationName ) { return domain + "." + applicationName + ".agents"; } private  RabbitMqUtils(); static void configureFactory( ConnectionFactory factory, Map<String,String> configuration ); static void closeConnection( Channel channel ); static void declareApplicationExchanges( String domain, String applicationName, Channel channel ); static void declareGlobalExchanges( String domain, Channel channel ); static String buildExchangeNameForAgent( String domain, String applicationName ); static String buildExchangeNameForTheDm( String domain ); static String buildExchangeNameForInterApp( String domain ); static String buildExchangeName( MessagingContext ctx );  }