The ProducerTemplate (2.8.3) javadocs talk about methods that send to "to the 
default endpoint"... but how does one configure that that endpoint is?

I see that DefaultProducerTemplate has methods like:

public void setDefaultEndpointUri(String endpointUri) {
public void setDefaultEndpoint(Endpoint defaultEndpoint) {

But these are not on ProducerTemplate.  CamelContext.createProducerTemplate() 
returns a ProducerTemplate, so to set the default you need to cast?  Really?

Is this an oversight or by design?

--jason

Reply via email to