You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for custom collection prefix in MongoDB Job repository #4980
EnableMongoJobRepository should accept a collectionPrefix so that a prefix can be specified for the MongoDB collections used by the job repository.
Current Behavior
At the moment this feature does not exist. Adding it would mirror the existing tablePrefix option in EnableJdbcJobRepository, enabling multi‑application support, environment isolation, and easier management of the underlying collections.
Context
A workaround could be implemented by modifying MongoJobRepositoryFactoryBean and a few DAO classes. However, it would be preferable to provide this functionality as a built‑in feature.
changed the title [-]collectionPrefix for MongoDB Job repository[/-][+]Add support for custom collection prefix in MongoDB Job repository[/+]on Sep 10, 2026
Activity
SHINMH commentedon Sep 29, 2025
Hi, I’m interested in working on this issue. Could I take this up?
fmbenhassine commentedon Sep 30, 2025
@SHINMH Sure, thank you for your offer to help!
Contributions are welcome.
[-]collectionPrefix for MongoDB Job repository[/-][+]Add support for custom collection prefix in MongoDB Job repository[/+]Support configurable MongoDB batch metadata collection prefixes
Align the MongoDB collection prefix support with the JDBC job repository