tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan S Fisher (Jira)" <>
Subject [jira] [Created] (TOMEE-2678) TomEE doesn't deliver a message to all listeners on a JMS Topic (sometimes)
Date Wed, 11 Sep 2019 16:23:00 GMT
Jonathan S Fisher created TOMEE-2678:

             Summary: TomEE doesn't deliver a message to all listeners on a JMS Topic (sometimes)
                 Key: TOMEE-2678
             Project: TomEE
          Issue Type: Bug
            Reporter: Jonathan S Fisher

* You have a MDB listening on a Topic
* You deploy the same WAR/EAR on multiple TomEE instances

* Only one of the messageListeners will receive the message

* All instances listening on the topic should get a copy of the message

* TomEE by default uses the DeploymentId as the clientId. This will not be unique by default.
The JMS Spec says listeners on topics need unique names.

#1: openejb.activemq.deploymentId-as-clientId is true by default. Setting this to false might
allow activeMq to assign the client id, which will be unintelligible but unique.

#2: set openejb.deploymentId.format = {host}/{appId}/{ejbJarId}/{ejbName} and name the hostname
something unique in server.xml. This will ensure unique deployment names

* may need an option to prepend a UUID to the clientId or something

This message was sent by Atlassian Jira

View raw message