{"action":"closed","issue":{"url":"https://api.github.com/repos/michaelklishin/quartz-mongodb/issues/97","labels_url":"https://api.github.com/repos/michaelklishin/quartz-mongodb/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/michaelklishin/quartz-mongodb/issues/97/comments","events_url":"https://api.github.com/repos/michaelklishin/quartz-mongodb/issues/97/events","html_url":"https://github.com/michaelklishin/quartz-mongodb/issues/97","id":95274171,"number":97,"title":"quartz-mongodb and axonframework don't work together","user":{"login":"levi-h","id":6238439,"avatar_url":"https://avatars.githubusercontent.com/u/6238439?v=3","gravatar_id":"","url":"https://api.github.com/users/levi-h","html_url":"https://github.com/levi-h","followers_url":"https://api.github.com/users/levi-h/followers","following_url":"https://api.github.com/users/levi-h/following{/other_user}","gists_url":"https://api.github.com/users/levi-h/gists{/gist_id}","starred_url":"https://api.github.com/users/levi-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levi-h/subscriptions","organizations_url":"https://api.github.com/users/levi-h/orgs","repos_url":"https://api.github.com/users/levi-h/repos","events_url":"https://api.github.com/users/levi-h/events{/privacy}","received_events_url":"https://api.github.com/users/levi-h/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T19:44:00Z","updated_at":"2015-07-15T20:44:35Z","closed_at":"2015-07-15T20:44:35Z","body":"I'm not sure whether this is more an [AxonFramework](http://www.axonframework.org/) issue than a quartz-mongodb one, but it will probably be easier to fix in this project :)\r\n\r\nAxon uses fully qualified class names as keys in its job data maps when scheduling events. This leads to stack traces like the following:\r\n\r\n    java.lang.IllegalArgumentException: Document field names can't have a . in them. (Bad Key: 'org.axonframework.domain.EventMessage')\r\n    \tat com.mongodb.DBCollection.validateKey(DBCollection.java:1910)\r\n    \tat com.mongodb.DBCollection._checkKeys(DBCollection.java:1869)\r\n    \tat com.mongodb.DBCollection._checkObject(DBCollection.java:1856)\r\n    \tat com.mongodb.DBCollectionImpl.applyRulesForInsert(DBCollectionImpl.java:431)\r\n    \tat com.mongodb.DBCollectionImpl.insertWithCommandProtocol(DBCollectionImpl.java:420)\r\n    \tat com.mongodb.DBCollectionImpl.insert(DBCollectionImpl.java:188)\r\n    \tat com.mongodb.DBCollectionImpl.insert(DBCollectionImpl.java:167)\r\n    \tat com.mongodb.DBCollection.insert(DBCollection.java:93)\r\n    \tat com.mongodb.DBCollection.insert(DBCollection.java:78)\r\n    \tat com.mongodb.DBCollection.insert(DBCollection.java:120)\r\n    \tat com.novemberain.quartz.mongodb.MongoDBJobStore.storeJobInMongo(MongoDBJobStore.java:1194)\r\n    \tat com.novemberain.quartz.mongodb.MongoDBJobStore.storeJobAndTrigger(MongoDBJobStore.java:129)\r\n    \tat org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:886)\r\n    \tat org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:249)\r\n    \tat org.axonframework.eventhandling.scheduling.quartz.QuartzEventScheduler.schedule(QuartzEventScheduler.java:70)\r\n\r\nI'm using 1.9.0 with AxonFramework 2.4."}}