[jboss-user] [JBoss Messaging] - Bridge - Foreign Message (ActiveMQ -> JbossMessaging)

aslak do-not-reply at jboss.com
Thu Aug 9 03:13:27 EDT 2007


I'm having some problems getting a ActiveMQ -> JbossMessaging bridge working.

In the 1.3.0 release, the foreign destination was lost on the message due to it not being a JbossDestination 
when the message copying happened(ProducerAspect, new JbossMessage()), resulting in a NullPointerException in the 

ServerConnectionEndpoint.sendMessage.. 
dest.isQueue()

Looking at the 1.4.0.CR1 code, the restriction on JbossMessage needing a JbossDestination has changed. So now the destination is set, but it is a ActiveMqTopic and results in a ClassCastException in 

ServerConnectionEndpoint.sendMessage:
JBossDestination dest = (JBossDestination)msg.getJMSDestination();
	
	
	
Any ideas?

-aslak-

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

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



More information about the jboss-user mailing list