title: Connection pool in MongoDB with jongo
body: <p>I would like to use connection pool for MongoDB. I have used MongoDB with Jongo and Spring MVC framework.</p>
  
  <p>Here is my spring xml code for MongoDB configuration, which is working fine.</p>
  
  <pre><code>&lt;!-- Mongo Configuration --&gt;
  &lt;mongo:mongo id="mongo" host="${mongodb.host}" port="${mongodb.port}"&gt;
  &lt;/mongo:mongo&gt;
  
  &lt;mongo:db-factory id="mongoDbFactory" mongo-ref="mongo" dbname="${mongodb.database}" username="${mongodb.username}" password="${mongodb.password}" /&gt; 
  </code></pre>
  
  <p>I need to configure a connection pool. Can anyone guide, How to implement MongoDB connection pool with existing code?</p>