You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by hpkeck <hp...@yahoo.de> on 2008/08/26 15:50:36 UTC
Destination configuration for MDB
Hi,
I have just started using message-driven beans with ActiveMQ 5.1 listening
to a topic. I integrated it in JBoss 4.2.1 as described on the ActiveMQ home
page, and it works fine. But as far as I understood, you have to specify the
physical name of the topic in the ejb-jar.xml activation-config, e.g.
<activation-config>
<activation-config-property>
<activation-config-property-name>destination</activation-config-property-name>
<activation-config-property-value>the.topic</activation-config-property-value>
</activation-config-property>
....
</activation-config>
I think this is ugly, because I want to be able to change the topic name
during installation (and I don't want to unpack the application ear file
during installation).
So I would like to know if there is another way of specifying the topic,
e.g. using a logical name that maps to something defined in a *-ds.xml file,
which can be adapted easily during installation?
Thanks in advance for any hints.
--
View this message in context: http://www.nabble.com/Destination-configuration-for-MDB-tp19162463p19162463.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.