Re: Patterns for DRY Camel endpoints

2015-02-05 Thread Nathan Jones
On 06/02/15 02:14, Claus Ibsen wrote: On Wed, Feb 4, 2015 at 11:17 AM, Jan Matèrne (jhm) wrote: The URI is just a string. Why not extract your "builder" into a simple utility method public class EndpointUtils { public static String rabbitEndpoint(String scheme, String host, String host

Re: Patterns for DRY Camel endpoints

2015-02-05 Thread Claus Ibsen
On Wed, Feb 4, 2015 at 11:17 AM, Jan Matèrne (jhm) wrote: > The URI is just a string. > Why not extract your "builder" into a simple utility method > > public class EndpointUtils { > public static String rabbitEndpoint(String scheme, String host, String > host) { > ... > } > } > >