My Oracle Support Banner

JMS Adapter In SOA Composite Rejecting Messages When Priority is Set Higher Than 9 (Doc ID 2194280.1)

Last updated on NOVEMBER 15, 2023

Applies to:

Oracle SOA Suite - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Goal


JMS Adapter in SOA Composite is rejecting messages after Consuming from Oracle AQ. Getting below Error Message in SOA Suite 12.1.3 and Same BPEL Service with JMS Adapter was working fine in Oracle SOA Suite 10G. But it is not working in SOA Suite 12.1.3.

Priority Set on Oracle AQ is default 50. Same priority was set earlier also when this Code was running in BPEL10G. Now when the priority is reduced below 9 on AQ then it works fine in 12.1.3.

Error Message:

JmsAdapterMessage_setHeaderJMSPriority: Cannot set message priority to '-41' since it is outside the valid range: 0..9

detail Error Message:
  [composite_version: 1.0] [endpoint_name: JmsAQBoxFacility_AQConsumer] JmsAdapterMessage_setHeaderJMSPriority: Cannot set message priority to '-41' since it is outside the valid range: 0..9>
  [composite_version: 1.0] [endpoint_name: JmsAQBoxFacility_AQConsumer] JmsConsumer_sendInboundMessage: [destination = XXCU_E4_OUT_EVENT_CB, subscriber = null]: Error (null) while preparing to send XMLRecord JmsXMLRecord
java.lang.NullPointerException
  at oracle.tip.adapter.jms.inbound.JmsConsumer.sendInboundMessage(JmsConsumer.java:454)
  at oracle.tip.adapter.jms.inbound.JmsConsumer.send(JmsConsumer.java:1244)
  at oracle.tip.adapter.jms.inbound.JmsConsumer.runInbound(JmsConsumer.java:1095)
  at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:1057)
  at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:184)
  at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
 

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.