"aslak" wrote:
1. The bridges source consumer receives a ActiveMQMessage from the ActiveMQProvider
2. The bridge tries to send the message to the target JbossProducer.
3. The JbossProducer figures out it is a foreign message and converts the message to a JbossMessage. The JbossProducers target JbossDestination is lost in the translation. (to be correct, the ActiveMQDestination is set on the JbossMessage and the ServerConnection failes casting it.)
Actually, the ActiveMQMessage converts the JbossDestination to a ActiveMQDestination. Then the ActiveMQMessage is converted to a JbossMessage with the ActiveMQDestination still set, hench the ClassCastException.
:o)
"aslak" wrote:
Actually, the ActiveMQMessage converts the JbossDestination to a ActiveMQDestination. Then the ActiveMQMessage is converted to a JbossMessage with the ActiveMQDestination still set, hench the ClassCastException.
:o)