Sunday, April 17, 2011

JMS Topic Creation in JBoss 5 AS

In Jboss 4, when I deployed an ear with an MDB for a topic that had not been specified in the deployment descriptors, the server would automatically create the topic (after posting a warning saying that topic didn't exist).

In Jboss 5, it doesn't seem to automatically create the topics anymore (errors out instead). Is there a configuration option somewhere that would allow automatic topic creation?

From stackoverflow
  • From the JBoss community forums -- This JIRA was added in 5AS.

    Unfortunately it looks like there is no way to implement createDestination globally in the standardjboss.xml descriptor -- You have to add a custom jboss.xml descriptor to the ear deploying the mdb.

    <jboss xsi:schemaLocation="" version="3.0">


Post a Comment