• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Bartender
Posts: 2118
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 2118
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic