-
1. Re: Topic implementation in JBoss 6
jbertram Mar 21, 2014 1:37 PM (in response to sankalp.madaan)Is "subscriber A" durable? If so, the broker will just put the message in the subscription whether or not the client is connected. If not, then there is no subscription to speak of.
-
2. Re: Topic implementation in JBoss 6
sankalp.madaan Mar 21, 2014 2:19 PM (in response to jbertram)Both the clients A and B have durable subscription. Suppose message 1 is not delivered to A (because it was down), redelivering process is happening. But message 1 was delivered to B. So question is while the redelivering process is on its way, will message 2 will be delivered to subscriber B in the meanwhile?
-
3. Re: Topic implementation in JBoss 6
jbertram Mar 21, 2014 4:09 PM (in response to sankalp.madaan)If client A closed it's connection properly then HornetQ will know that it is not active so when it puts the message into subscription A then no delivery attempt will be made.
-
4. Re: Topic implementation in JBoss 6
sankalp.madaan Mar 24, 2014 10:48 AM (in response to jbertram)Sorry Justin for being not clear in my query. Actually my MDB is never down. In MDB, I am sending the message to some outside party using a web service and on the basis of response I am getting, I am doing rollback for the transaction. So question is while the redelivering process is on its way, will message 2 will be delivered to subscriber B in the meanwhile?
-
5. Re: Topic implementation in JBoss 6
jbertram Mar 24, 2014 11:35 AM (in response to sankalp.madaan)So question is while the redelivering process is on its way, will message 2 will be delivered to subscriber B in the meanwhile?
Yes.