We are implementing an events framework within our application using a JMS topic with multiple durable subscribers as MDBs (EJB 3.0). Each subscriber will use message selectors to determine which messages it is interested in.
How should we specify clientId
and subscriptionName
values in @ActivationConfigProperty
annotations? My current thinking is to use the same clientId
value for all MDBs because they are all within the application and to specify a subscriptionName
for each MDB.
Does that sound reasonable?