[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Invalid JORAM Test

clebert.suconic@jboss.com do-not-reply at jboss.com
Sat Jun 16 11:56:19 EDT 2007


"timfox" wrote : "clebert.suconic at jboss.com" wrote : 
  |   | 
  |   | I don't know if this is legal on JORAM, but it is certainly not legal on JBossMessaging. You are required to clear the previous receiver before assign a new one on the same queue, because of that I will be changing the JORAM test accordingly. (Unless anyone has anything against the change)
  |   | Clebert
  | 
  | Actually, it's perfectly legal to create more than one receiver on the same queue.
  | 
  | It's just that it's not specified in the JMS spec which receiver would get the message.
  | 
  | In the case of JBM they would be round-robined.
  | 
  | However, if the test is expecting the the latest receiver to get the message, then I accept the test is probably flawed.

Yep.. that's what I meant... but I think it's odd the test was passing on JORAM (originally written to) and JBossMQ.

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

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



More information about the jboss-dev-forums mailing list