camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Find if an endpoint uri is supported
Date Fri, 15 Jan 2010 15:10:29 GMT
On Fri, Jan 15, 2010 at 4:09 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> Hi
>
> I think CamelContext have a list of registered endpoints you can peek in.
>

And I believe 2.1 or later have a hasEndpoint(uri) method.


> On Fri, Jan 15, 2010 at 4:04 PM, Johan Haleby <johan.haleby@gmail.com> wrote:
>>
>> Hi,
>>
>> How can I find out if a URI endpoint that I pass to a producer is a valid
>> endpoint (i.e. that a component has been registered to handle it)? E.g. how
>> can find out if "jms:queue:myqueue" is a valid endpoint and
>> "jsm:queue:myqueue" is not before I send it (if the JMS component has been
>> registered)?
>>
>> /Johan
>> --
>> View this message in context: http://old.nabble.com/Find-if-an-endpoint-uri-is-supported-tp27178476p27178476.html
>> Sent from the Camel - Users 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

Mime
View raw message