[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remote replyto functionality - Bridge configuration in p
timfox
do-not-reply at jboss.com
Wed Jun 13 04:29:55 EDT 2007
Anyway, it would be easy to make a small code change to workaround the ActiveMQ behaviour.
I don't have ActiveMQ set up here, so maybe you could try this:
Remove this code from JBossMessage::setDestination()
| if (!(destination instanceof JBossDestination))
| {
| throw new InvalidDestinationException("Destination cannot be foreign");
| }
|
Also we should probably add a sanity check in ProducerAspect::handleSend() to check if the destination is actually a JBossDestination, in case someone is actually stupid enough to try and send a message to JBM with a foreign destination set.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053842#4053842
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053842
More information about the jboss-dev-forums
mailing list