https://issues.apache.org/activemq/browse/AMQNET-246 Fix the generated code to use correct interfaces.