[jboss-user] [JBoss Messaging] - Re: Could Transparent Failover cause subscriber to miss out

timfox do-not-reply at jboss.com
Thu May 8 02:57:12 EDT 2008


"scotthkao" wrote : I read from the online document somewhere that one distinctive added feature of JBoss Messaging(JBM) is transparent failover, i.e. failover without the client-side code to handle connection exception. But I just wonder that could there be any message lost during the transparent failover of non-durable subscriptions?
  | anonymous wrote : 
  |   | 
  |   | Only persistent messages in durable queues (durable subscriptions or non temporary queues) are guaranteed to survive failover.
  |   | 
  |   | Non persistent messages are by their nature transient. 
  |   | 
  |   | anonymous wrote : 
  |   |   | On transparent failover in the case of non-durable subscription, is the connection exception listener triggered?
  |   |   | 
  |   | 
  |   | If the exception listener was triggered it wouldn't be transparent ;) That's basically what transparent failover means.
  |   | 
  |   | 
  |   | anonymous wrote : 
  |   |   | How could the client-side code get to know the transparent failover has accomplished the failover successfully?
  |   |   | 
  |   | 
  |   | If we informed you about failover completion it wouldn't be transparent. If you want to use a connection listener and handle failover manually then you can just turn off transparent failover. Sounds like this is what you want to do.
  |   | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149315#4149315

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149315



More information about the jboss-user mailing list