This discussion is archived
0 Replies Latest reply: May 16, 2013 6:05 AM by 746314 RSS

Throttling using JMS Adapter poller threads

746314 Newbie
Currently Being Moderated
Hi,

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

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 parameter for throttling (which is 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.

I posted this in two other forums but didn't get any responses on them so posting it here. I apologize for the repetition of this post in multiple forums.

Thanks & Regards
shashi

Legend

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