[jboss-user] [JBoss Messaging] - Re: Bridge - Foreign Message (ActiveMQ -> JbossMessaging)
do-not-reply at jboss.com
Thu Aug 9 06:29:55 EDT 2007
I've tried changed the ProducerAspect to set the producer destination on messageToSend after the message has been copied. It stoped complaining about the ClassCast...
but the JDBCPersistenceManager.handleBeforeCommit1PC failes inserting the message reference due to a database foreign key constraint on message id.
Around line 1671, it tries to insert the MessageRef before inserting the Message. Changing the order seem to work..
.. not sure what other errors I might have introduced with these changes but..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072421#4072421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072421
More information about the jboss-user