On Mon, May 7, 2012 at 5:11 PM, Hiranya Jayathilaka <hira...@wso2.com>wrote:

>
>
> On Mon, May 7, 2012 at 3:09 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Folks.,
>> Any feedback on this? Does this make sense?
>>
>
> I don't think so. We have a very clear separation between named
> sequences/endpoints and anonymous sequences/endpoints. Anonymous objects
> are local to a particular proxy service or an API and they are not visible
> to other services. Sort of like a private method. Named objects on the
> other hand are visible to everybody, can be shared/reused extensively and
> do show up in the Synape global namespace. Both have specific, well-defined
> use cases and I don't see a strong use case for having named sequences
> inside a proxy or an API.
>

What about the service chaining scenario? We unnecessarily have to define
sequences in the global space even though those will be needed only by one
particular proxy service. Take a look at the example at
http://blog.afkham.org/2012/05/wso2-esb-service-chaining.html. I had to
define personInfoSeq & creditSeq at the global level even though I needed
them only within the proxy service. Is there a way to achieve the same
thing while keeping everything local (without following the old state
property based case handling)?


> Thanks,
> Hiranya
>
>
>>
>>
>> On Sun, May 6, 2012 at 3:48 PM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> I think it will be a good idea to allow defining named sequences inside
>>> proxy services. Otherwise, even if a single proxy service needs use a named
>>> sequence, it has to be defined at a global level, which will cause
>>> unnecessary clutter. Just like the inSequence & outSequence can be defined
>>> inside a proxy service (at a per proxy service level), we should allow
>>> definition of named sequences also inside a proxy service.
>>>
>>>
>>> On Sun, May 6, 2012 at 3:10 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>
>>>> Sorry, my mistake. I have defined the sequence inside the proxy service.
>>>>
>>>>
>>>> On Sun, May 6, 2012 at 3:05 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>
>>>>> I added the attached proxy service which contains 2 named sequences
>>>>> using the ESB proxy service UI. However, when I rechecked using edit proxy
>>>>> service, both the named sequences had disappeared. Is this a known issue?
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>**
>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>**
>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> Hiranya Jayathilaka
> Senior Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to