Hi everyBody,
I would like to configure a durable topic listened by a MDB. But I would not like to have the name of the clientID/subcriptionName set (hardcoded) in the ejb-jar.xml.
Because I would like to be able to have several different MDB on different servers to listen to that particular topic. If I hardcode a clientID that will not be unique for the topic so I do not think it will work.
I thought about something like
<activation-config-property-name>subscriptionName</activation-config-property-name>
<activation-config-property-value>${my.parameter}</activation-config-property-value>
But I do not think it works! May be I did smthing wrong?
Do you have any idea how to do that?
Any no has an idea?
I wish I don't have to write some perl/bash script that modifies the ejb-jar.xml file at deployment time.
What do you think?