cancel
Showing results for 
Search instead for 
Did you mean: 

is <parallel-consumers> prop supported in ejb-j2ee-engine.xml for N/W 04S

Former Member
0 Kudos

hi friends,

my MDB is consuming one message at a time. Next message is only consumed after onMessage() is done with processing of current message.

I found one link which spoke about multpile instances of MDB being created using <parallel-consumers> property.

Link is <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/604e2b64-e689-2910-64b3-ffd650f83756">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/604e2b64-e689-2910-64b3-ffd650f83756</a>

here is the excerpt.

<i>Since SAP NetWeaver 04 SP19 (and also in SAP NetWeaver

Application Server, JavaTM EE 5 Edition), a new property, parallel-consumers, has been

JMS Frequently Asked Questions 25

SAP Online Help 28.02.2007

introduced in the deployment descriptor ejb-j2ee-engine.xml. That can be used to tune the

performance for transacted MDBs on queues that are doing long blocking operations inside

their onMessage method. If the property is not specified, or has value 1, the server

functionality will not change in any way.

For example, if you define

<property>

<property-name>parallel-consumers</property-name

<property-value>10</property-value>

</property>

When you send messages to a queue, the JMS scales these messages into 10 “mini-queues”

and each such queue “feeds” one bean instance. So if you send a great number of

messages, they are scaled among these 10 MDB instances. However, if you publish only 2

messages from different connections, they potentially could fall into one and the same miniqueue

and be delivered sequentially.</i>

it says if same Queue connection is used to deliver two messages then it gets distributed among multiple instances. My codes does use same connection BUT still messages are being consumed sequentially.

The post says this property is supported since SAP NetWeaver 04 SP19 .

I am working on SAP Netweaver 04s , default SP which is 6.

does any one know whether 04S SP6 supports this property ?

If it does then am i still missing some configuration settings

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

anyone who knows this ? it has become a blocker issue for us. Any help will be highly appreciated

Former Member
0 Kudos

Hi Rohit,

No, it's not supported on SP6. It will be in SP10 or later.

You may check the correlation between SP-s in terms of engine features in SAP note 866472.

HTH

Peter