Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<lookup-name> of <message-destination> does not override mappedName in MDB

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on p.315 of Ivan's notes,
I have my dd like this:

and

The message cannot be delivered to the topic.



However, if I defined the right topic name in the @MessageDriven annotation, it works:




 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a Glassfish 3.1 document at https://docs.oracle.com/cd/E18930_01/html/821-2418/beama.html

In the sun-ejb-jar.xml,
I put this:

Now, the two MDB's can get the message from the topic called "jms/PublishingTopic".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic