Skip to Content

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 09, 2009 at 02:31 AM

    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

    Add comment
    10|10000 characters needed characters exceeded