Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Robin Zhang
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store MongoDB

Override the default MongoOptions(Connection Pool)

Created: 01/Dec/13 11:44 AM   Updated: 09/Dec/13 07:48 PM   Resolved: 01/Dec/13 07:09 PM
Component/s: None
Affects Version/s: 3.2.4
Fix Version/s: 3.2.6

File Attachments: 1. Text File (2 kB)

Environment: JDK1.6+ Linux CentOS 6

Forum Thread URL:,7630
Datastore: MongoDB

 Description  « Hide
for users to be able to override MongoOptions(Connection Pool)

Sort Order: Ascending order - Click to sort in descending order
Robin Zhang added a comment - 01/Dec/13 12:10 PM
this patch, provid a way of overriding the MogonOptions(for Mongo connection pool option)

After this patch applied, you need add the properties in persistence.xml(JPA) list below:
    <property name="datanucleus.mongodb.connectionsPerHost" value="100"/>
    <property name="datanucleus.mongodb.threadsAllowedToBlockForConnectionMultiplier" value="50"/>

Andy Jefferson added a comment - 01/Dec/13 07:09 PM
Patch applied to SVN trunk, with fix to formatting, removal of "import *", and properties added to plugin.xml. Thanks!