1

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
Community
  • 1
  • 1
Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140

1 Answers1

0

It seems impossible to do this, with JavaEE 5 at least.

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140