Hi

Yes I did not make my point clear.

It's the fact that CamelContext requires a default endpoint URI to be
configured. Then you can use ProducerTemplate.sendBody("Hello World")
and then it will send this body the default endpoint URI. Normally you
have to provide the URI as well such as:
ProducerTemplate.sendBody("direct:in", Hello World");

The class DefaultEndpoint should of course be there as the base class ;)



/Claus

On Tue, Nov 11, 2008 at 10:40 PM, Hadrian Zbarcea <[EMAIL PROTECTED]> wrote:
> Claus,
>
> DefaultEndpoint is the base class for all Endpoints and provides a default
> implementation of the Endpoint methods.
>
> Am I misunderstanding your question?
>
> Hadrian
>
> On Nov 11, 2008, at 2:22 PM, Claus Ibsen wrote:
>
>> Hi
>>
>> I am wondering if this "default" endpoint is used by anyone? I am
>> wondering what the purpose really is and what it solves. Is it
>> possible to consider to remove this?
>> Would remove many methods for ProducerTemplate so less for end users
>> to get confused by.
>>
>> --
>>
>> /Claus Ibsen
>> Apache Camel Committer
>> Blog: http://davsclaus.blogspot.com/
>
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Reply via email to