It's simple: I have an MDB and an EJB that sends messages to a topic (or queue). JBoss complains that the topic is not bound to the JNDI context.
I want to have the topic/queue to be automatically created at best, or at least to have a standard way to define it, per application (say, in ejb-jar/META-INF
)
this question and this blogpost show us how to do it in an application server specific way. This surely works, but:
@MessageDriven
annotationIt seems impossible to do this, with JavaEE 5 at least.