cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Send Long Wait

Former Member
0 Kudos

Hi all,

I've the following scenario:

EJB 3 (Session Bean) with aMethod.

public void aMethod(){

// Do Synchronous call

// Put Message on a Queue

// Do Synchronous call

}

When I'm calling this method with a load test (Many Thread Clients) the call to Send is slower than synchronous call.

I get the following records of SAP Profiler.

========================================================================

com.sap.engine.services.jmsconnector.cci.MessageProducerImpl.send(javax.jms.Message) 4.578s

com.sap.jms.client.session.MessageProducer.send(javax.jms.Message) 2.820s

com.sap.engine.services.jmsconnector.spi.ManagedSession.commitTransaction() 1.938s

com.sap.engine.services.jmsconnector.cci.SessionImpl.close() 0.506s

com.sap.engine.services.jmsconnector.cci.QueueConnectionImpl.createQueueSession(boolean, int) 0.198s

com.sap.engine.services.jmsconnector.cci.QueueSessionImpl.createSender(javax.jms.Queue) 0.110s

com.sap.engine.services.jmsconnector.cci.SessionImpl.createObjectMessage(java.io.Serializable) 0.066s

=========================================================================

Does anybody knows if have some way to configure the SAP JMS Provider to call send and follow with processing, without waiting, blocking the process.

Is possible to use anything like fireAndForget characteristic, or does anybody has a tip to improve performance on Sender JMS message on NetWeaver.

I'm using NetWeaver CE 7.1 SR 5.

Best regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check with this [Configuring the Sender JMS Adapter Help Doc|http://help.sap.com/saphelp_nwpi71/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm].

Thanks

Mohan Rao

Former Member
0 Kudos

Hi Mohan,

Thanks, but i'm not using PI Adapter to it.

Best regards