Zwei unabhaengige Abonnenten des Policy-Events-Topics - zeigt JMS Publish/Subscribe im
Kontrast zum Point-to-Point-Request/Reply in novaris-claims-mq. Siehe
docs/30-jms-mq/01-queues-vs-topics.md und docs/30-jms-mq/03-topics-und-selektoren.md.
PolicyDocumentGenerationMDB - durable Topic-Subscriber, Message-Selektor nur fuer
POLICY_ISSUEDCustomerNotificationMDB - durable Topic-Subscriber, Message-Selektor fuer
POLICY_ISSUED UND CLAIM_REGISTEREDPubliziert wird von PolicyEventPublisherBean (novaris-policy-core) - dieses Modul enthaelt
nur die Abonnentenseite.
# aus novaris-legacy-parent/:
mvn -pl novaris-notification-jms test
PolicyDocumentGenerationMDBTest/CustomerNotificationMDBTest: containerfrei, rufen
onMessage(...) direkt mit einer gemockten Nachricht auf.NotificationTopicFanoutTest: beweist die eigentliche Publish/Subscribe- und
Selektor-Mechanik gegen einen echten eingebetteten ActiveMQ-Broker - dieselbe
POLICY_ISSUED-Nachricht erreicht beide Abonnenten, eine CLAIM_REGISTERED-Nachricht nur
den Customer-Notification-Abonnenten.