synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: Ability to dynamically define endpoints
Date Thu, 09 Feb 2012 15:30:43 GMT
May be using a service providers is not a good idea. Lately we have not
used this approach for registering things because of its sun specific
nature. We use the synapse.properties file for registering the XPath
extensions. It is a best place for placing this kind of extensions because
we are not going to develop lot of endpoints like we do for mediators.

Thanks,
Supun..

On Thu, Feb 9, 2012 at 9:50 AM, Udayanga Wickramasinghe
<udayanga@wso2.com>wrote:

>
>
> On Thu, Feb 9, 2012 at 2:27 PM, Afkham Azeez <afkham@gmail.com> wrote:
>
>> Sorry, when I said endpoint, I meant endpoint type such as
>> AddressEndpoint, DynamicLoadbalanceEndpoint etc. These endpoint types
>> cannot be externally defined right now.
>
>
> +1
> one option is to use Java *Service providers  to register endpoint
> factories*/serializers.  This approach is currently have been used for
> pluggin in external  mediators
> Regards,
> udayanga
>
>>
>>
>> On Thu, Feb 9, 2012 at 2:13 PM, <askde3@gmail.com> wrote:
>>
>>> **
>>> I guess you can define and register the end points from your ESB using
>>> ws-discovery to a WSO2 Registry , later write a custom mediation from
>>> synapse to retrieve the EPR from Registry using Discovery api and
>>> dynamically route the request to that end point
>>> Sent using BlackBerry® from Orange
>>> ------------------------------
>>> *From: * Afkham Azeez <afkham@gmail.com>
>>> *Date: *Thu, 9 Feb 2012 13:29:58 +0530
>>> *To: *<dev@synapse.apache.org>
>>> *ReplyTo: * dev@synapse.apache.org
>>> *Subject: *Ability to dynamically define endpoints
>>>
>>> This is a requirement we have in the WSO2 Load Balancer which uses
>>> Synapse. At present, endpoints cannot be defined externally we are forced
>>> to use the predefined endpoint sets. However, we require a special endpoint
>>> which does stuff specific to our setup. How easy or difficult is it to
>>> change Synapse to do this?
>>>
>>> Thanks
>>> Azeez
>>>
>>>
>
>
> --
> *Udayanga Wickramasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: **udayanga@wso2.com* <udayangaw@wso2.com>* cell: +94 (77) 983-4365
> blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com/>
> *
> twitter: **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick>
> *
> *
>



-- 
Supun Kamburugamuva
Member, Apache Software Foundation; http://www.apache.org
E-mail: supun06@gmail.com <supun@wso2.com>;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com

Mime
View raw message