Message durability in P to P.
1 posts in topic
Flat View  Flat View

Posted By:   Ashutosh_Rai
Posted On:   Tuesday, March 5, 2002 07:29 PM


In P to P messaging using queues, are the following things handled:

1) Server crash.
2) Server shutdown.

I mean if I send a message in a queue, the server receives it and just after receiving it crashes. Will the message still be there for consumption. Same case for server shutdown.

In case of Topics, it is possible. How is this handled in case of queues and by whom (i. e. the developer or the JMS server etc).



Re: Message durability in P to P.

Posted By:   Brian_McCarty  
Posted On:   Monday, March 11, 2002 08:56 PM

If the message is received by the messaging server and the queues are created with persitence, then the messages will survive a server shutdown. If your message server is not persistent or your message is currently at the client, then there will be a loss of the message if the server is goes down. In most robust solution for peer-to-peer would be server-to-server with persistent messages while the least robust would be client-to-server with non-persistent messages.

I don't understand what you are inquiring about when you say "In case of Topics". Are you inquiring how pub/sub works with persistent messages?
About | Sitemap | Contact