Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CLIENT_ACKNOWLEDGE

 
vijaya vinayagam
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, my scenario goes like this...

Messages are posted continuously to the JMS queue thorough JMS bridge from external system and the underlying MDB gets called.
Now, i want to acknowledge the message only after successful processing of it at the MDB.

For which i tried "message.acknowledge()" in onMessage() method of MDB and changed the descriptior to
<acknowledge-mode>CLIENT_ACKNOWLEDGE</acknowledge-mode>


My Weblogic gives the below exception while starting it....

weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unknown ACKNOWLEDGE MODE : CLIENT_ACKNOWLEDGE ]


Is there something i'm missing here


thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic