I need to dequeue a Message from Oracle Advanced Queue (ADQ) through an MDB. The MDB is deployed on Weblogic 11. I can define a Foreign Server for ADQ (official oracle doc).
The qustion is:
what happens if the payload is not a jms type
e.g.
queue_payload_type=>'sys.aq$_jms_text_message'
but is a custom type?
How Weblogic remap it?
AQ supports different types of jms messages, and the mdb can check the type of the message and take diff actions. If you are expecting only txt messages but the content of the message is different the mdb needs to check that in its code.