Hi

We could probably move some of those rarely used methods to CamelContextHelper.


On Sun, Nov 22, 2009 at 8:56 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> On Sun, Nov 22, 2009 at 7:38 AM, huntc <hu...@mac.com> wrote:
>>
>> Hi,
>>
>> I'm using the following method on the camel context:
>>
>>
>> Collection<?> cardReaderEndpoints =
>>  exchange.getContext().getEndpoints(bgReaderListenerURI);
>>
>>
>> I note that with 2.1 this is marked as being deprecated. The source code
>> states:
>>
>>
>> makes no sense, is removed in Camel 2.2
>>
>
> There are plenty of other methods on CamelContext to get endpoints. So
> use any of those.
> We are trimming down the number of methods on the context to remove
> methods which are very rarely used (by Camel itself or end users)
>
>
>
>>
>> Well, the deprecation makes no sense to me! %-|
>>
>> I use the above method call to return a list of endpoints connected on a tcp
>> socket (MINA). How else might I do this?
>>
>> Kind regards,
>> Christopher
>> --
>> View this message in context: 
>> http://old.nabble.com/getEndpoints-deprecated-for-2.1---please-advise-why-tp26463149p26463149.html
>> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to