{"action":"created","issue":{"url":"https://api.github.com/repos/kaiso/relmongo/issues/36","repository_url":"https://api.github.com/repos/kaiso/relmongo","labels_url":"https://api.github.com/repos/kaiso/relmongo/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/kaiso/relmongo/issues/36/comments","events_url":"https://api.github.com/repos/kaiso/relmongo/issues/36/events","html_url":"https://github.com/kaiso/relmongo/issues/36","id":382216360,"node_id":"MDU6SXNzdWUzODIyMTYzNjA=","number":36,"title":"RelMongo not working with AbstractConfiguration (MongoDB 4.0 Transactions)","user":{"login":"inblind","id":2110536,"node_id":"MDQ6VXNlcjIxMTA1MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/2110536?v=4","gravatar_id":"","url":"https://api.github.com/users/inblind","html_url":"https://github.com/inblind","followers_url":"https://api.github.com/users/inblind/followers","following_url":"https://api.github.com/users/inblind/following{/other_user}","gists_url":"https://api.github.com/users/inblind/gists{/gist_id}","starred_url":"https://api.github.com/users/inblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inblind/subscriptions","organizations_url":"https://api.github.com/users/inblind/orgs","repos_url":"https://api.github.com/users/inblind/repos","events_url":"https://api.github.com/users/inblind/events{/privacy}","received_events_url":"https://api.github.com/users/inblind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-19T13:32:41Z","updated_at":"2018-12-02T19:40:14Z","closed_at":null,"author_association":"NONE","body":"Hi All,\r\n\r\nIssue:\r\nFor enabling transactions on MongoDB 4.0 it is required to use AbstractConfiguration. When I add this configuration RelMongo stops working.\r\n\r\nImplementation:\r\n\r\npublic class MongoTransactionConfig extends AbstractMongoConfiguration {\r\n\r\n    @Bean\r\n    MongoTransactionManager transactionManager(MongoDbFactory dbFactory) {\r\n        return new MongoTransactionManager(dbFactory);\r\n    }\r\n\r\n    @Value(\"${spring.data.mongodb.host}\")\r\n    private String host;\r\n\r\n    @Value(\"${spring.data.mongodb.port}\")\r\n    private Integer port;\r\n\r\n    @Value(\"${spring.data.mongodb.database}\")\r\n    private String database;\r\n\r\n\r\n    @Override\r\n    protected String getDatabaseName() {\r\n        return database;\r\n    }\r\n\r\n    @Override\r\n    @Bean\r\n    public MongoClient mongoClient() {\r\n    return new MongoClient(host, port);\r\n    }\r\n\r\n}\r\n\r\nPS: Great dependency, I love how it smooth it is.\r\n\r\nThanks,\r\nRafael"},"comment":{"url":"https://api.github.com/repos/kaiso/relmongo/issues/comments/443535636","html_url":"https://github.com/kaiso/relmongo/issues/36#issuecomment-443535636","issue_url":"https://api.github.com/repos/kaiso/relmongo/issues/36","id":443535636,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzUzNTYzNg==","user":{"login":"kaiso","id":24657978,"node_id":"MDQ6VXNlcjI0NjU3OTc4","avatar_url":"https://avatars2.githubusercontent.com/u/24657978?v=4","gravatar_id":"","url":"https://api.github.com/users/kaiso","html_url":"https://github.com/kaiso","followers_url":"https://api.github.com/users/kaiso/followers","following_url":"https://api.github.com/users/kaiso/following{/other_user}","gists_url":"https://api.github.com/users/kaiso/gists{/gist_id}","starred_url":"https://api.github.com/users/kaiso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaiso/subscriptions","organizations_url":"https://api.github.com/users/kaiso/orgs","repos_url":"https://api.github.com/users/kaiso/repos","events_url":"https://api.github.com/users/kaiso/events{/privacy}","received_events_url":"https://api.github.com/users/kaiso/received_events","type":"User","site_admin":false},"created_at":"2018-12-02T19:40:14Z","updated_at":"2018-12-02T19:40:14Z","author_association":"OWNER","body":"Hi, I released a new version [3.0.0](https://github.com/kaiso/relmongo/releases/tag/v3.0.0) which is compatible with transactions and MongoDB 4.0, enjoy ! and do not forget to star the repository.\r\nbe free to report any issue and close this issue if your tests are concluding\r\n\r\nThank you, "}}
{"actor":{"display_login":"kaiso"}}