Github user gaohoward commented on the pull request:
https://github.com/apache/activemq-artemis/pull/482#issuecomment-214595574
I belive this is caused by the recent replacement of proton-jms with
activemq-amqp lib.
In activemq-amqp, it checks the message's destination like that:
private static byte destinationType(Destination destination) {
if(destination instanceof Queue) {
return (byte)(destination instanceof TemporaryQueue?2:0);
} else if(destination instanceof Topic) {
return (byte)(destination instanceof TemporaryTopic?3:1);
} else {
throw new IllegalArgumentException("Unknown Destination Type
passed to JMS Transformer.");
}
}
Unfortunately the destination we have is ServerDestination which is only an
instance of Destination.
We probably need to subclasses that implements Queu and Topic jms interface
respectively.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---