Hi,

Is it possible to createEndpoint only one in a context, and not as many
requests, dynamically?
eg: 

   public void configure() {
                                from("direct:a").
                                                .setHeader("host",
constant("smtp.gmail.com")).setBody(constant("body"))
                                                .toD((DefaultEndpoint)endpoint);
                        }

toD doesn't support DefaultEndpoint hence all the time new endpoints are
created...!!

Thanks,
Vivek



--
View this message in context: 
http://camel.465427.n5.nabble.com/Default-dynamic-endpoint-tp5782743.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to