This discussion is archived
0 Replies Latest reply: May 10, 2013 12:47 PM by 746314 RSS

Throttling using JMS Adapter poller threads

746314 Newbie
Currently Being Moderated
Hi,

We are are trying to realize the throttling using JMS Adapter poller threads.

I came across this http://docs.oracle.com/cd/E14571_01/core.1111/e10108/adapters.htm (15.5 Oracle SOA JMS Adapter Tuning )

adapter.jms.receive.threads

Here is my configuration. I tried both the options listed below but none works for me.

option 1 - here property is of type string

<service name="JMSDelayMsgRead" ui:wsdlLocation="JMSDelayMsgRead.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/jms/JMSDelayMessage/JMSDelayMessage/JMSDelayMsgRead#wsdl.interface(Consume_Message_ptt)"/>
<binding.jca config="JMSDelayMsgRead_jms.jca">
*<property name="adapter.jms.receive.threads" type="xs:string" many="false">4</property>*

</binding.jca>
</service>

option 2  - Here property is of type integer

<service name="JMSDelayMsgRead" ui:wsdlLocation="JMSDelayMsgRead.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/jms/JMSDelayMessage/JMSDelayMessage/JMSDelayMsgRead#wsdl.interface(Consume_Message_ptt)"/>
<binding.jca config="JMSDelayMsgRead_jms.jca">
*<property name="adapter.jms.receive.threads" type="xs:integer" many="true" override="may">4</property>*

</binding.jca>
</service>

I tried minimumDelayBetweenMessages for throttling based on time delay and it works as expected but poller threads mechansim is more suitable for my situation.

Here is my environment details
I'm on SOA 11.1.1.4
JMS Adapter consuming from a Topic (IBM MQ)
Durable Subscription

Can any one help me get throttling using poller threads working?

Please let me know if you need further details about my configuration / logs etc.

Thanks & Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points