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

2017-09-17 Thread Thishani Lucas
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 en

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 Edirisoor

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

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

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 suggestio

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