Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JMS Send Long Wait

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

Not what you were looking for? View more on this topic or Ask a question