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.

<store messagestore="JMSMS"></store>

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.

<store messagestore="{//msgstr/arg/value}"></store>

Please provide your suggestions on this feature.

-- 
Regards,

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

*Tel: +94 77 2556931 *

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

<http://wso2.com/signature>
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to