[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remote replyto functionality - Bridge configuration in p

sergeypk do-not-reply at jboss.com
Wed Jun 27 07:59:21 EDT 2007


Actually, the JMS spec says JMSDestination is supposed to be ignored when a message is sent, the producer's destination must be used instead, and the message's JMSDestination must be overwritten with the real destination afterwards. So I think that even checking in ProducerAspect shouldn't be done.

The spec is a bit unclear since it also says that InvalidDestinationException "must be thrown when a destination is not understood by the provider". I'd take that to mean "the destination passed to createProducer/createConsumer".

Also, the code currently requires JMSReplyTo to be a JBossDestination as well, I don't know if this restriction is  necessary.

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

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



More information about the jboss-dev-forums mailing list