• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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

 
Saloon Keeper
Posts: 2449
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
Saloon Keeper
Posts: 2449
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".
 
reply
    Bookmark Topic Watch Topic
  • New Topic