On 24/08/07, Hendra Sasmita <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> Currently I am trying to use JMeter to measure JBoss Messaging's
> performance.
> When I set the communication style into Request Response, JMeter shows
> errors in the report.
>
> From the log, I see that the problem lies in these lines:
>
> Files: org.apache.jmeter.protocol.jms.sampler.Receiver
>
> if (reply.getJMSCorrelationID() == null) {
>                        log.warn("Received message with correlation id
> null. Discarding message ...");
>            } else {
>
> MessageAdmin.getAdmin().putReply(reply.getJMSCorrelationID(), reply);
>            }
>
>
> I don't know it is done in activeMQ, but in JBoss Messaging, the message
> producer will not set Message's correlation ID automatically.
> So if you want to set Correlation ID in JBoss Messaging, you need to use
> method "setJMSCorrelationID(String correlationID)"
>
> Since in JMS specification, it is not specified that that the content of
> JMS Correlation ID will automatically be filled with Message Id, I think
> it is better to change the correlation ID with Message ID.
>
> if (reply.getJMSMessageID() == null) {
>                        log.warn("Received message with message id null.
> Discarding message ...");
>            } else {
>
> MessageAdmin.getAdmin().putReply(reply.getJMSMessageID(), reply);
>            }
>
> This way, we can make sure that the test will run for any JMS Provider.
>
> The change has been made in my local computer, and it works for JBoss
> Messaging. I would like to hear you opinion about this matter.
> Should I change the source in SVN, or has anyone problem with the
> change?

Please create a Bugzilla issue and attach the fix as a unified diff to that.

> Thank you for your attention.
>
> Best Regards,
> Hendra
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to