• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

message driven bean not bind to destination!

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have correctly named Connection Factory and Destination name, but the message driven bean still not bind to JMS, the status of the bean is not alive. when i write a client to send message , it just got in JMS, but no consumer in JMS . Can anyone give me some suggestion? thanks
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, have you written a consumer for the destination?
 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think it should message driven bean to do as a consumer and show something here, else what's the role of message driven bean. A message send to appserver and a consumer got it, nothing happened to the bean. I got confused , some suggestion?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, if you know you have an MDB configured to listen the destination and you know you sent a message into that destination, there's not much I can say. Have you set some kind of filtering properties for the MDB or some other, optional configurations? It might be a good idea to strip down anything that is not mandatory and see whether it works end-to-end then.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By the way, do you have access to some kind of a management console where you could see some monitoring statistics for your JMS destination? From there you would see how many messages are pending or have been processed.
 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, I could see the received messaged in monitoring status in destinations, but there is nothing happened to MDB. As a listener , i think it should consumer the message, but it didn't work well. By the way, should also config session pools? I just config Connection pools and JMS server and the destinations in JMS server , and name MDB with that connection pool and destination , is that right?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The needed configuration items depend on your application server. You might want to browse the specific product's forum.
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic