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

Last updated on OCTOBER 24, 2016

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_name: Dispatcher_BoxFacility_Far_Events_New] [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_name: Dispatcher_BoxFacility_Far_Events_New] [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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms