[jira] [Commented] (QPID-3502) Durable messages not acked on queue-based federation route
[ https://issues.apache.org/jira/browse/QPID-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815347#comment-13815347 ] Cliff Jansen commented on QPID-3502: That commit was for QPID-5302, fooey :-( > Durable messages not acked on queue-based federation route > -- > > Key: QPID-3502 > URL: https://issues.apache.org/jira/browse/QPID-3502 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.10, 0.12 >Reporter: Gordon Sim >Assignee: Gordon Sim > Fix For: 0.13 > > > - On both the source and destination broker I run: > qpid-config add exchange topic mytopic --durable > qpid-config add queue myq --durable > qpid-config bind mytopic myq 'topica.*' > - On the destination broker I run: > qpid-route -d -s --ack 1 queue add mytopic > myq > - On the source broker machine I edit the spout script to make > messages durable and run: > spout mytopic/topica.hello > - On the destination broker I run: > drain myq > Using qpid-stat -q monitor the dequeue of messages. Durable messages are not > dequeued, when a transient message is sent all previous messages will be > dequeued. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (QPID-3502) Durable messages not acked on queue-based federation route
[ https://issues.apache.org/jira/browse/QPID-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815343#comment-13815343 ] ASF subversion and git services commented on QPID-3502: --- Commit 1539474 from cliffjan...@apache.org in branch 'qpid/trunk' [ https://svn.apache.org/r1539474 ] QPID-3502: Windows SslConnector memory error from unititialized data > Durable messages not acked on queue-based federation route > -- > > Key: QPID-3502 > URL: https://issues.apache.org/jira/browse/QPID-3502 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.10, 0.12 >Reporter: Gordon Sim >Assignee: Gordon Sim > Fix For: 0.13 > > > - On both the source and destination broker I run: > qpid-config add exchange topic mytopic --durable > qpid-config add queue myq --durable > qpid-config bind mytopic myq 'topica.*' > - On the destination broker I run: > qpid-route -d -s --ack 1 queue add mytopic > myq > - On the source broker machine I edit the spout script to make > messages durable and run: > spout mytopic/topica.hello > - On the destination broker I run: > drain myq > Using qpid-stat -q monitor the dequeue of messages. Durable messages are not > dequeued, when a transient message is sent all previous messages will be > dequeued. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (QPID-3502) Durable messages not acked on queue-based federation route
[ https://issues.apache.org/jira/browse/QPID-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113444#comment-13113444 ] Gordon Sim commented on QPID-3502: -- On consultation with Ken, the following is preferred: {noformat} Index: src/qpid/broker/SessionState.cpp === --- src/qpid/broker/SessionState.cpp(revision 1166820) +++ src/qpid/broker/SessionState.cpp(working copy) @@ -346,10 +346,8 @@ } // if the sender has requested immediate notification of the completion... -if (requiresSync) { +if (requiresSync || callSendCompletion) { sendAcceptAndCompletion(); -} else if (callSendCompletion) { -sendCompletion(); } } {noformat} > Durable messages not acked on queue-based federation route > -- > > Key: QPID-3502 > URL: https://issues.apache.org/jira/browse/QPID-3502 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.12 >Reporter: Gordon Sim > > - On both the source and destination broker I run: > qpid-config add exchange topic mytopic --durable > qpid-config add queue myq --durable > qpid-config bind mytopic myq 'topica.*' > - On the destination broker I run: > qpid-route -d -s --ack 1 queue add mytopic > myq > - On the source broker machine I edit the spout script to make > messages durable and run: > spout mytopic/topica.hello > - On the destination broker I run: > drain myq > Using qpid-stat -q monitor the dequeue of messages. Durable messages are not > dequeued, when a transient message is sent all previous messages will be > dequeued. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] [Commented] (QPID-3502) Durable messages not acked on queue-based federation route
[ https://issues.apache.org/jira/browse/QPID-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113363#comment-13113363 ] Gordon Sim commented on QPID-3502: -- I believe this can be fixed by the following change (and suspect it may be a regression): {noformat} Index: src/qpid/broker/SessionState.cpp === --- src/qpid/broker/SessionState.cpp(revision 1166820) +++ src/qpid/broker/SessionState.cpp(working copy) @@ -346,7 +346,7 @@ } // if the sender has requested immediate notification of the completion... -if (requiresSync) { +if (requiresSync || (requiresAccept && callSendCompletion)) { sendAcceptAndCompletion(); } else if (callSendCompletion) { sendCompletion(); {noformat} > Durable messages not acked on queue-based federation route > -- > > Key: QPID-3502 > URL: https://issues.apache.org/jira/browse/QPID-3502 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.12 >Reporter: Gordon Sim > > - On both the source and destination broker I run: > qpid-config add exchange topic mytopic --durable > qpid-config add queue myq --durable > qpid-config bind mytopic myq 'topica.*' > - On the destination broker I run: > qpid-route -d -s --ack 1 queue add mytopic > myq > - On the source broker machine I edit the spout script to make > messages durable and run: > spout mytopic/topica.hello > - On the destination broker I run: > drain myq > Using qpid-stat -q monitor the dequeue of messages. Durable messages are not > dequeued, when a transient message is sent all previous messages will be > dequeued. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org