Forums Register Login

JMS and MessageDriven Bean

+Pie Number of slices to send: Send
Hello Rancher

In setting a MessageDriveBean asynchronous insert a record in a relational database. What to do in case of communication problems?
My doubt is ... the setting that makes the MDB run several times until the relational database back is done in a proprietary extension on each application server?
Has anyone had experience in context?

Regards.
+Pie Number of slices to send: Send
Hi Fernando,

When there will be communication problems with DB the exception will be thrown from your MDB. JMS provider will attemp to redeliver such message. It can be potentially dangerous (poison message) unless you specify the number of redelivery attempts. After specified number of attempts your message will be send to the special place and you can monitor it.
+Pie Number of slices to send: Send
Hi Lucas

This configuration is done in a proprietary extension on each application server?
Regards
+Pie Number of slices to send: Send
Exactly!
The example for JBoss:
http://middlewaremagic.com/jboss/?p=2402

Important piece of configuration
+Pie Number of slices to send: Send
That was exactly what I needed to know Lucas!
Best Regards.
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1402 times.
Similar Threads
small confusion with"meaning of persistent word "
Directory Service vs Relational Database
post relational database
How to manage configuration parameters
Is The MySQL a Relational Database?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:41:07.