[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remote replyto functionality - Bridge configuration in p
thomasra
do-not-reply at jboss.com
Wed Jun 27 08:19:09 EDT 2007
"sergeypk" wrote : 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.
|
I agree with this - this is the responsibility of the "other side" in order to be compliant - they should overwrite it with the correct destination from the producer.
However, the JMSReplyTo bit is more difficult. Like JMSDestination, it doesn't apply across providers, but AFAIK there is no API available to set this on producer, which means it cannot be JBM-specific if we want to support this. Though the most likely case is using Queue/TopicRequestor, which pretty much hides all this for the client anyway. I think temp destinations are the only way to get remote replyto to work correctly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058119#4058119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058119
More information about the jboss-dev-forums
mailing list