"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...