<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/11/30 Ravinder Kasarla <span dir="ltr"><<a href="mailto:ravinderka9@gmail.com" target="_blank">ravinderka9@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div id=":uw" style="overflow:hidden">I have 15 programs each one acts as producer and consumer. So can I<br>
create 15+ broker connections across all these programs. Is there any<br>
other better way to do this. Can I use only 2connections(one to<br>
publish and one to consume) across all these programs? Thanks in<br>
advance.</div></blockquote></div><br>No, you cannot share connections between OS processes.</div><div class="gmail_extra"><br></div><div class="gmail_extra">You can share a connection between threads (if applicable), but 15 or even 30 connections</div>

<div class="gmail_extra">is not a large number.<br>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>


</div></div>