Tune performance when reading message content from client
---------------------------------------------------------
Key: QPID-301
URL: https://issues.apache.org/jira/browse/QPID-301
Project: Qpid
Issue Type: Improvement
Components: Java Client
Affects Versions: M1
Reporter: Marnie McCormack
Fix For: M2
The following code:
public void onMessage(Message message)
{
sLog.info("message received");
if (message instanceof JMSBytesMessage)
{
String correlationId = "unknown";
try
{
JMSBytesMessage requestMessage = (JMSBytesMessage) message;
// Read and deserialise message
String requestMessageString = requestMessage.toBodyString();
correlationId = requestMessage.getJMSCorrelationID();
takes 5ms to execute on an opteron Linux server, with a 100K message. User
expected sub ms performance from this test. Auto acknowledge mode.
Note that bytes message sent from C++ client publisher.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira