You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/10/13 15:58:00 UTC

DO NOT REPLY [Bug 47992] JMS Point-to-Point Request - Response option doesn't work for me

https://issues.apache.org/bugzilla/show_bug.cgi?id=47992

--- Comment #1 from juniordeveloper <ma...@freemail.hu> 2009-10-13 06:57:57 UTC ---
In the Receiver.java file change this:


from   getJMSMessageID   to getJMSCorrelationID




old:

while (isActive()) {
            reply = null;
            try {
                reply = consumer.receive(5000);
                if (reply != null) {

                    if (log.isDebugEnabled()) {
                        log.debug("Received message, correlation id:" +
reply.getJMSCorrelationID());
                    }

                    if (reply.getJMSCorrelationID() == null) {
                        log.warn("Received message with correlation id null.
Discarding message ...");
                    } else {
                       
MessageAdmin.getAdmin().putReply(reply.getJMSMessageID(), reply);
                    }
                }



new:


while (isActive()) {
            reply = null;
            try {
                reply = consumer.receive(5000);
                if (reply != null) {

                    if (log.isDebugEnabled()) {

                        log.debug("Received message, correlation id:" +
reply.getJMSCorrelationID());
                    }

                    if (reply.getJMSCorrelationID() == null) {
                        log.warn("Received message with correlation id null.
Discarding message ...");
                    } else {
                       
MessageAdmin.getAdmin().putReply(reply.getJMSCorrelationID(), reply);
                    }
                }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org