Re: [Architecture] [EI] Dynamically Routing Messages to Message Stores

2017-12-03 Thread Thishani Lucas
On Tue, Sep 19, 2017 at 1:19 PM, Thishani Lucas  wrote:

> Hi Godwin,
>
> Yes we can do that.
>
> Thanks.
>
> On Tue, Sep 19, 2017 at 11:40 AM, Godwin Shrimal  wrote:
>
>> Hi Thishani,
>>
>> Can we support property such as below?
>>
>> 
>>
>> Thanks
>> Godwin
>>
>>
>> On Mon, Sep 18, 2017 at 12:08 PM, Thishani Lucas 
>> wrote:
>>
>>> Hi Maninda,
>>>
>>> Thank you for your suggestion. Yes i thought of following Property
>>> Mediator. But instead of introducing a new attribute called 'expression'
>>> like in the Property Mediator, I plan to allow the Store Mediator to take
>>> both the path expression and the string value. Then we can have a logic to
>>> differentiate between a hard-coded store name and a path expression i.e if
>>> the value is enclosed by curly braces, then it is an expression. This way we
>>> can maintain the backward compatibility.
>>>
>>> Thank you.
>>>
>>> On Mon, Sep 18, 2017 at 11:39 AM, Maninda Edirisooriya >> > wrote:
>>>
 Hi Thishani,

 You can follow the same way the expressions/values spacified in
 Property Mediator in [1]. Then it will maintain the consistency in ESB
 space and you can simply reusing the existing functionality.

 [1] https://docs.wso2.com/display/ESB500/Property+Mediator

 Thanks.


 *Maninda Edirisooriya*
 Senior Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *E-mail* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Mon, Sep 18, 2017 at 10:37 AM, Thishani Lucas 
 wrote:

> The current store mediator implementation allows the name of the
> message store to which the messages should be sent, to be given as a
> hard-coded string value. The requirement is to route the messages
> dynamically i.e without giving the hard-coded name, derive the name from
> the message context. To enable this, the message store name attribute of
> the store mediator should be allowed to take a path expression as a value.
> But also there should be a way to differentiate between a string value and
> an expression.
>
> According to the existing implementation, the store mediator is
> defined as follows.
>
> 
>
> But with my implementation, the user will be able to extract the name
> from the message context and set it to message store as shown below.
>
> 
>
> Please provide your suggestions on this feature.
>
> --
> Regards,
>
> *Thishani Lucas*
> *Software Engineer*
> *WSO2 Lanka (Private) Limited**: http://wso2.com *
> *lean.enterprise.middle-ware*
>
> *Tel: +94 77 2556931 <077%20255%206931> *
>
> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
> *
>
> 
>
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>

>>>
>>>
>>> --
>>> Regards,
>>>
>>> *Thishani Lucas*
>>> *Software Engineer*
>>> *WSO2 Lanka (Private) Limited**: http://wso2.com *
>>> *lean.enterprise.middle-ware*
>>>
>>> *Tel: +94 77 2556931 <+94%2077%20255%206931> *
>>>
>>> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
>>> *
>>>
>>> 
>>>
>>> ___
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>> ___
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Regards,
>
> *Thishani Lucas*
> *Software Engineer*
> *WSO2 Lanka (Private) Limited**: http://wso2.com *
> *lean.enterprise.middle-ware*
>
> *Tel: +94 77 2556931 <+94%2077%20255%206931> *
>
> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
> *
>
> 
>



-- 
Regards,

*Thishani Lucas*
*Software Engineer*
*WSO2 Lanka (Private) Limited**: http://wso2.com *
*lean.enterprise.middle-ware*

*Tel: +94 77 2556931 *

*LinkedIn: https://www.linkedin.com/in/thishani-lucas/
*


___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [EI] Dynamically Routing Messages to Message Stores

2017-09-19 Thread Thishani Lucas
Hi Godwin,

Yes we can do that.

Thanks.

On Tue, Sep 19, 2017 at 11:40 AM, Godwin Shrimal  wrote:

> Hi Thishani,
>
> Can we support property such as below?
>
> 
>
> Thanks
> Godwin
>
>
> On Mon, Sep 18, 2017 at 12:08 PM, Thishani Lucas 
> wrote:
>
>> Hi Maninda,
>>
>> Thank you for your suggestion. Yes i thought of following Property
>> Mediator. But instead of introducing a new attribute called 'expression'
>> like in the Property Mediator, I plan to allow the Store Mediator to take
>> both the path expression and the string value. Then we can have a logic to
>> differentiate between a hard-coded store name and a path expression i.e if
>> the value is enclosed by curly braces, then it is an expression. This way we
>> can maintain the backward compatibility.
>>
>> Thank you.
>>
>> On Mon, Sep 18, 2017 at 11:39 AM, Maninda Edirisooriya 
>> wrote:
>>
>>> Hi Thishani,
>>>
>>> You can follow the same way the expressions/values spacified in Property
>>> Mediator in [1]. Then it will maintain the consistency in ESB space and you
>>> can simply reusing the existing functionality.
>>>
>>> [1] https://docs.wso2.com/display/ESB500/Property+Mediator
>>>
>>> Thanks.
>>>
>>>
>>> *Maninda Edirisooriya*
>>> Senior Software Engineer
>>>
>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>
>>> *Blog* : http://maninda.blogspot.com/
>>> *E-mail* : mani...@wso2.com
>>> *Skype* : @manindae
>>> *Twitter* : @maninda
>>>
>>> On Mon, Sep 18, 2017 at 10:37 AM, Thishani Lucas 
>>> wrote:
>>>
 The current store mediator implementation allows the name of the
 message store to which the messages should be sent, to be given as a
 hard-coded string value. The requirement is to route the messages
 dynamically i.e without giving the hard-coded name, derive the name from
 the message context. To enable this, the message store name attribute of
 the store mediator should be allowed to take a path expression as a value.
 But also there should be a way to differentiate between a string value and
 an expression.

 According to the existing implementation, the store mediator is defined
 as follows.

 

 But with my implementation, the user will be able to extract the name
 from the message context and set it to message store as shown below.

 

 Please provide your suggestions on this feature.

 --
 Regards,

 *Thishani Lucas*
 *Software Engineer*
 *WSO2 Lanka (Private) Limited**: http://wso2.com *
 *lean.enterprise.middle-ware*

 *Tel: +94 77 2556931 <077%20255%206931> *

 *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
 *

 

 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


>>>
>>
>>
>> --
>> Regards,
>>
>> *Thishani Lucas*
>> *Software Engineer*
>> *WSO2 Lanka (Private) Limited**: http://wso2.com *
>> *lean.enterprise.middle-ware*
>>
>> *Tel: +94 77 2556931 <+94%2077%20255%206931> *
>>
>> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
>> *
>>
>> 
>>
>> ___
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
> 
>
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Regards,

*Thishani Lucas*
*Software Engineer*
*WSO2 Lanka (Private) Limited**: http://wso2.com *
*lean.enterprise.middle-ware*

*Tel: +94 77 2556931 *

*LinkedIn: https://www.linkedin.com/in/thishani-lucas/
*


___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [EI] Dynamically Routing Messages to Message Stores

2017-09-18 Thread Godwin Shrimal
Hi Thishani,

Can we support property such as below?



Thanks
Godwin


On Mon, Sep 18, 2017 at 12:08 PM, Thishani Lucas  wrote:

> Hi Maninda,
>
> Thank you for your suggestion. Yes i thought of following Property
> Mediator. But instead of introducing a new attribute called 'expression'
> like in the Property Mediator, I plan to allow the Store Mediator to take
> both the path expression and the string value. Then we can have a logic to
> differentiate between a hard-coded store name and a path expression i.e if
> the value is enclosed by curly braces, then it is an expression. This way we
> can maintain the backward compatibility.
>
> Thank you.
>
> On Mon, Sep 18, 2017 at 11:39 AM, Maninda Edirisooriya 
> wrote:
>
>> Hi Thishani,
>>
>> You can follow the same way the expressions/values spacified in Property
>> Mediator in [1]. Then it will maintain the consistency in ESB space and you
>> can simply reusing the existing functionality.
>>
>> [1] https://docs.wso2.com/display/ESB500/Property+Mediator
>>
>> Thanks.
>>
>>
>> *Maninda Edirisooriya*
>> Senior Software Engineer
>>
>> *WSO2, Inc.*lean.enterprise.middleware.
>>
>> *Blog* : http://maninda.blogspot.com/
>> *E-mail* : mani...@wso2.com
>> *Skype* : @manindae
>> *Twitter* : @maninda
>>
>> On Mon, Sep 18, 2017 at 10:37 AM, Thishani Lucas 
>> wrote:
>>
>>> The current store mediator implementation allows the name of the message
>>> store to which the messages should be sent, to be given as a hard-coded
>>> string value. The requirement is to route the messages dynamically i.e
>>> without giving the hard-coded name, derive the name from the message
>>> context. To enable this, the message store name attribute of the store
>>> mediator should be allowed to take a path expression as a value. But also
>>> there should be a way to differentiate between a string value and an
>>> expression.
>>>
>>> According to the existing implementation, the store mediator is defined
>>> as follows.
>>>
>>> 
>>>
>>> But with my implementation, the user will be able to extract the name
>>> from the message context and set it to message store as shown below.
>>>
>>> 
>>>
>>> Please provide your suggestions on this feature.
>>>
>>> --
>>> Regards,
>>>
>>> *Thishani Lucas*
>>> *Software Engineer*
>>> *WSO2 Lanka (Private) Limited**: http://wso2.com *
>>> *lean.enterprise.middle-ware*
>>>
>>> *Tel: +94 77 2556931 <077%20255%206931> *
>>>
>>> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
>>> *
>>>
>>> 
>>>
>>> ___
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>
>
> --
> Regards,
>
> *Thishani Lucas*
> *Software Engineer*
> *WSO2 Lanka (Private) Limited**: http://wso2.com *
> *lean.enterprise.middle-ware*
>
> *Tel: +94 77 2556931 <+94%2077%20255%206931> *
>
> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
> *
>
> 
>
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila

___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [EI] Dynamically Routing Messages to Message Stores

2017-09-17 Thread Thishani Lucas
Hi Maninda,

Thank you for your suggestion. Yes i thought of following Property
Mediator. But instead of introducing a new attribute called 'expression'
like in the Property Mediator, I plan to allow the Store Mediator to take
both the path expression and the string value. Then we can have a logic to
differentiate between a hard-coded store name and a path expression i.e if
the value is enclosed by curly braces, then it is an expression. This way we
can maintain the backward compatibility.

Thank you.

On Mon, Sep 18, 2017 at 11:39 AM, Maninda Edirisooriya 
wrote:

> Hi Thishani,
>
> You can follow the same way the expressions/values spacified in Property
> Mediator in [1]. Then it will maintain the consistency in ESB space and you
> can simply reusing the existing functionality.
>
> [1] https://docs.wso2.com/display/ESB500/Property+Mediator
>
> Thanks.
>
>
> *Maninda Edirisooriya*
> Senior Software Engineer
>
> *WSO2, Inc.*lean.enterprise.middleware.
>
> *Blog* : http://maninda.blogspot.com/
> *E-mail* : mani...@wso2.com
> *Skype* : @manindae
> *Twitter* : @maninda
>
> On Mon, Sep 18, 2017 at 10:37 AM, Thishani Lucas 
> wrote:
>
>> The current store mediator implementation allows the name of the message
>> store to which the messages should be sent, to be given as a hard-coded
>> string value. The requirement is to route the messages dynamically i.e
>> without giving the hard-coded name, derive the name from the message
>> context. To enable this, the message store name attribute of the store
>> mediator should be allowed to take a path expression as a value. But also
>> there should be a way to differentiate between a string value and an
>> expression.
>>
>> According to the existing implementation, the store mediator is defined
>> as follows.
>>
>> 
>>
>> But with my implementation, the user will be able to extract the name
>> from the message context and set it to message store as shown below.
>>
>> 
>>
>> Please provide your suggestions on this feature.
>>
>> --
>> Regards,
>>
>> *Thishani Lucas*
>> *Software Engineer*
>> *WSO2 Lanka (Private) Limited**: http://wso2.com *
>> *lean.enterprise.middle-ware*
>>
>> *Tel: +94 77 2556931 <077%20255%206931> *
>>
>> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
>> *
>>
>> 
>>
>> ___
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>


-- 
Regards,

*Thishani Lucas*
*Software Engineer*
*WSO2 Lanka (Private) Limited**: http://wso2.com *
*lean.enterprise.middle-ware*

*Tel: +94 77 2556931 *

*LinkedIn: https://www.linkedin.com/in/thishani-lucas/
*


___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [EI] Dynamically Routing Messages to Message Stores

2017-09-17 Thread Maninda Edirisooriya
Hi Thishani,

You can follow the same way the expressions/values spacified in Property
Mediator in [1]. Then it will maintain the consistency in ESB space and you
can simply reusing the existing functionality.

[1] https://docs.wso2.com/display/ESB500/Property+Mediator

Thanks.


*Maninda Edirisooriya*
Senior Software Engineer

*WSO2, Inc.*lean.enterprise.middleware.

*Blog* : http://maninda.blogspot.com/
*E-mail* : mani...@wso2.com
*Skype* : @manindae
*Twitter* : @maninda

On Mon, Sep 18, 2017 at 10:37 AM, Thishani Lucas  wrote:

> The current store mediator implementation allows the name of the message
> store to which the messages should be sent, to be given as a hard-coded
> string value. The requirement is to route the messages dynamically i.e
> without giving the hard-coded name, derive the name from the message
> context. To enable this, the message store name attribute of the store
> mediator should be allowed to take a path expression as a value. But also
> there should be a way to differentiate between a string value and an
> expression.
>
> According to the existing implementation, the store mediator is defined as
> follows.
>
> 
>
> But with my implementation, the user will be able to extract the name from
> the message context and set it to message store as shown below.
>
> 
>
> Please provide your suggestions on this feature.
>
> --
> Regards,
>
> *Thishani Lucas*
> *Software Engineer*
> *WSO2 Lanka (Private) Limited**: http://wso2.com *
> *lean.enterprise.middle-ware*
>
> *Tel: +94 77 2556931 <077%20255%206931> *
>
> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
> *
>
> 
>
> ___
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture