File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Weblogic JMS notification on message delivery - does such a facility work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic JMS notification on message delivery - does such a facility work" Watch "Weblogic JMS notification on message delivery - does such a facility work" New topic
Author

Weblogic JMS notification on message delivery - does such a facility work

Chris Brat
Ranch Hand

Joined: May 22, 2003
Posts: 108
Hi,

I'm are using Weblogic Server 10 and making use of distributed queues and a bridge to publish messages to a 2nd system.

Is there a callback mechanism available where application code can be executed as a result of a successful delivery of a message in the JMS bridge ?

As an example :
1.) My application inserts message into queue on bridge
2.) Message is successfully delivered to 2nd system -> callback class in my application is invoked (possibly to update a database status entry or initiate a application specific timer)

I know that the messages that currently exist in a queue can be retrieved by JMX but I'd prefer to use an callback facility than write code to query the queue/bridge via JMX at intervals.

Thanks,
Chris
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Weblogic JMS notification on message delivery - does such a facility work