JPA impl. + test for MessagePattern
Ability to configure patterns.