How to auto create a JMS topic/queue on JBoss in a portable and per-application way?
Posted
by Bozho
on Stack Overflow
See other posts from Stack Overflow
or by Bozho
Published on 2010-04-25T08:05:44Z
Indexed on
2010/04/25
8:13 UTC
Read the original article
Hit count: 282
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:
- I want to use the
@MessageDriven
annotation - I want the setting not to be global for the application server
- I want the setting to be portable
© Stack Overflow or respective owner