You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2007/04/19 15:12:15 UTC

[jira] Updated: (QPID-301) Tune performance when reading message content from client

     [ https://issues.apache.org/jira/browse/QPID-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-301:
----------------------------------

    Fix Version/s:     (was: M2)
                   M3

Moving unresolved JIRAs from M2 to M3, in preparation for M2 release

> 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: M3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.