-
Issue descriptionHello! I want to use Oracle Advanced Queueing and use a custom message type. I have found an example in Spring (https://blog.javaforge.net/post/30858904340/oracle-advanced-queuing-spring-custom-types where the DefaultMessageListenerContainer class is extended and the createConsumer method overridden. The method uses the ORADataFactory needed for the message type mapping from an Oracle type to a Java class. Can this be done in Micronaut? The JMS Listener and consumer are both defined using annotations and I cannot seem to find a way to set the ORADataFactory. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I've moved to a discussion. |
Beta Was this translation helpful? Give feedback.
-
I solved my problem with some hacking of existing Micronaut classes (https://github.com/MarkoDju/aq-demo). I replaced JMSListenerContainerFactory, JMSListenerContainer and DefaultSerializerDeserializer classes with a hacked version to make it work. I hope support for custom types in AQ will be added to Micronaut in future releases. |
Beta Was this translation helpful? Give feedback.
I solved my problem with some hacking of existing Micronaut classes (https://github.com/MarkoDju/aq-demo). I replaced JMSListenerContainerFactory, JMSListenerContainer and DefaultSerializerDeserializer classes with a hacked version to make it work.
There was some guessing involved, but my demo app works.
I hope support for custom types in AQ will be added to Micronaut in future releases.