On Tue, Jun 7, 2016 at 10:06 PM, Isuru Udana <[email protected]> wrote:
> Hi Manu, > > +1. Good idea. > I also think it is doable in the way you suggested, however we need to > investigate little bit more on this. > > > > > > > > On Tue, Jun 7, 2016 at 10:00 PM, Manuranga Perera <[email protected]> wrote: > >> AFAIK, correct me if I am wrong, the transaction is closed when the >> thread returns [1].This means we can't use call mediator (or send) with JMS >> proxy with transactions. >> > You can use call mediator in blocking mode. > >> If we keep JMS session/context in the message context and only close >> after the mediation flow is over, we will be able to handle more concurrent >> JMS requests. WDUT? >> > Transactions are bind to jms session and creating multiple sessions on demand are expensive. If you want to implement concurrency still you can do this with transport.jms.ConcurrentConsumers with proxies. With inbound you can do this with adding multiple workers. > >> [1] https://docs.wso2.com/display/ESB460/JMS+Transactions >> >> -- >> With regards, >> *Manu*ranga Perera. >> >> phone : 071 7 70 20 50 >> mail : [email protected] >> > > > > -- > *Isuru Udana* > Technical Lead > WSO2 Inc.; http://wso2.com > email: [email protected] cell: +94 77 3791887 > blog: http://mytecheye.blogspot.com/ > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Best Regards, Malaka Silva Senior Technical Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> https://store.wso2.com/store/ Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
