You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rupert Smith (JIRA)" <qp...@incubator.apache.org> on 2008/01/28 12:13:36 UTC

[jira] Created: (QPID-763) Some messages sent on topic exchange do not get through.

Some messages sent on topic exchange do not get through.
--------------------------------------------------------

                 Key: QPID-763
                 URL: https://issues.apache.org/jira/browse/QPID-763
             Project: Qpid
          Issue Type: Bug
          Components: Dot Net Client, Java Broker
    Affects Versions: M2, M2.1
         Environment: .Net on M2.1.
Java broker M2 or M2.1
            Reporter: Rupert Smith


Send 10 messages from 1 producer to 5 consumers on topic. Each consumer in own connection (with unique client id), on unique queues (generated temporary names), auto ack mode. Expecting 50 messages in total but only around 10-14 get through. Can see CSDM on broker routing messages for delivery but can also see from broker logs that only 10-14 are ever written to the wire. Looks like a Java broker problem, but why is the Java client working? .Net does do things slightly differently to the Java in that it does not do exchange.delcare, or flowcontrol.active, does bindings with nowait=true, and does not use the same naming conventions as the JMS impl, but it still looks like the .Net is doing AMQP correctly.

There is a test case for this, which prompts the user to step through the test case, so that the queue binding can be examined. Install Nunit (latest version), and build the .Net:

> nant clean build test
> cd bin/net-2.0/debug
> /cygdrive/c/Program\ Files/NUnit\ 2.4.6/bin/nunit-console.exe Apache.Qpid.Integration.Tests.dll /run=Apache.Qpid.Integration.Tests.interactive.SendReceiveTest /include=Interactive

Step through the test case when prompted. When it says 'Press to send...', the topic bindings have been created. When you press enter it sends the messages.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-763) Some messages sent on topic exchange do not get through.

Posted by "Rupert Smith (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Smith resolved QPID-763.
-------------------------------

    Resolution: Fixed

Client was setting prefetch size and count parameters the wrong way around. Also prefetch was set to 1, which meant size was set to 1, which was stopping messages getting though. Parameters now set the right way around.

> Some messages sent on topic exchange do not get through.
> --------------------------------------------------------
>
>                 Key: QPID-763
>                 URL: https://issues.apache.org/jira/browse/QPID-763
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client, Java Broker
>    Affects Versions: M2, M2.1
>         Environment: .Net on M2.1.
> Java broker M2 or M2.1
>            Reporter: Rupert Smith
>
> Send 10 messages from 1 producer to 5 consumers on topic. Each consumer in own connection (with unique client id), on unique queues (generated temporary names), auto ack mode. Expecting 50 messages in total but only around 10-14 get through. Can see CSDM on broker routing messages for delivery but can also see from broker logs that only 10-14 are ever written to the wire. Looks like a Java broker problem, but why is the Java client working? .Net does do things slightly differently to the Java in that it does not do exchange.delcare, or flowcontrol.active, does bindings with nowait=true, and does not use the same naming conventions as the JMS impl, but it still looks like the .Net is doing AMQP correctly.
> There is a test case for this, which prompts the user to step through the test case, so that the queue binding can be examined. Install Nunit (latest version), and build the .Net:
> > nant clean build test
> > cd bin/net-2.0/debug
> > /cygdrive/c/Program\ Files/NUnit\ 2.4.6/bin/nunit-console.exe Apache.Qpid.Integration.Tests.dll /run=Apache.Qpid.Integration.Tests.interactive.SendReceiveTest /include=Interactive
> Step through the test case when prompted. When it says 'Press to send...', the topic bindings have been created. When you press enter it sends the messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.