qpid cpp pub/sub

2014-07-02 Thread Quynh Duong
Hi folks, I'm a cpp developer and new to the qpid world. I have spent over a day tooling around with qpid cpp api and I was wondering how can I create a pub/sub model, since all the examples that come with the package doesn't give any hints on how it can be done. Things like binding-keys and

[jira] [Created] (QPID-5866) [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered

2014-07-02 Thread Pavel Moravec (JIRA)
Pavel Moravec created QPID-5866: --- Summary: [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered Key: QPID-5866 URL:

Re: qpid cpp pub/sub

2014-07-02 Thread Gordon Sim
On 07/02/2014 10:47 AM, Quynh Duong wrote: I'm a cpp developer and new to the qpid world. I have spent over a day tooling around with qpid cpp api and I was wondering how can I create a pub/sub model, since all the examples that come with the package doesn't give any hints on how it can be

Review Request 23231: [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered

2014-07-02 Thread Pavel Moravec
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23231/ --- Review request for qpid, Andrew Stitcher, Gordon Sim, and mick goulish. Bugs:

[jira] [Created] (QPID-5867) [Java Broker] Add functionality to prevent unintended HA node creation and mechanisms to react on intruder HA nodes

2014-07-02 Thread Alex Rudyy (JIRA)
Alex Rudyy created QPID-5867: Summary: [Java Broker] Add functionality to prevent unintended HA node creation and mechanisms to react on intruder HA nodes Key: QPID-5867 URL:

Re: Review Request 22630: [QPID-5823]: Python client should create a node with name starting '#'

2014-07-02 Thread Alan Conway
On June 16, 2014, 4:29 p.m., Alan Conway wrote: Unfortunately proton and dispatch both use '#' to mean something different. Subscribing to '#' invokes the AMQP 1.0 dynamic address feature. proton-c/src/messenger/messenger.c:1545: if (pn_streq(name, #)) { This is sort of but not

Re: Review Request 22630: [QPID-5823]: Python client should create a node with name starting '#'

2014-07-02 Thread Alan Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22630/#review47188 --- How about this (I love python): class MangledString(str): pass

Re: Review Request 23231: [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered

2014-07-02 Thread Gordon Sim
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23231/#review47196 --- Ship it! Ship It! - Gordon Sim On July 2, 2014, 1:16 p.m.,

Re: Review Request 23122: Proton map/hash entries can disappear

2014-07-02 Thread Cliff Jansen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23122/ --- (Updated July 2, 2014, 4:18 p.m.) Review request for qpid and Rafael

RE: qpid cpp pub/sub

2014-07-02 Thread Quynh Duong
Hi Gordon, Thanks for the prompt reply, I would like to further clarify my problem. I am currently running the QPID JMS client and QPID CPP API against JBOSS A-MQ 6.1 on AMQP 1.0 protocol. I am still having trouble initiating a 1pub/2sub model where the pub is java and the sub is c++. I have

RE: qpid cpp pub/sub

2014-07-02 Thread Quynh Duong
Code got messed up, resending: //Java cod starts //using Qpid Java client 0.28 AMQP1.0 libraries package org.apache.qpid.amqp_1_0.jms.example; import javax.jms.*;import javax.naming.Context;import javax.naming.InitialContext;import java.util.Hashtable; public class Spout{ public Spout(){

Re: qpid cpp pub/sub

2014-07-02 Thread Gordon Sim
On 07/02/2014 05:29 PM, Quynh Duong wrote: Hi Gordon, Thanks for the prompt reply, I would like to further clarify my problem. I am currently running the QPID JMS client and QPID CPP API against JBOSS A-MQ 6.1 on AMQP 1.0 protocol. I am still having trouble initiating a 1pub/2sub model where

Re: Review Request 23122: Proton map/hash entries can disappear

2014-07-02 Thread Rafael Schloming
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23122/#review47208 ---

Re: Review Request 23122: Proton map/hash entries can disappear

2014-07-02 Thread Cliff Jansen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23122/ --- (Updated July 2, 2014, 7:06 p.m.) Review request for qpid and Rafael

[jira] [Commented] (QPID-3921) C++ header files need tidyup (in several different ways)

2014-07-02 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/QPID-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14050586#comment-14050586 ] ASF subversion and git services commented on QPID-3921: --- Commit

Re: Review Request 23122: Proton map/hash entries can disappear

2014-07-02 Thread Rafael Schloming
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23122/#review47224 --- Ship it! Ship It! - Rafael Schloming On July 2, 2014, 7:06

Review Request 23243: Tidied up a bunch of stuff related to the amqp-0-10 generated code

2014-07-02 Thread Andrew Stitcher
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23243/ --- Review request for qpid, Alan Conway and Gordon Sim. Repository: qpid

[jira] [Created] (QPID-5868) Java client ignores exceptions when waiting on sync

2014-07-02 Thread Rajith Attapattu (JIRA)
Rajith Attapattu created QPID-5868: -- Summary: Java client ignores exceptions when waiting on sync Key: QPID-5868 URL: https://issues.apache.org/jira/browse/QPID-5868 Project: Qpid Issue

[jira] [Updated] (QPID-5868) Java client ignores exceptions when waiting on sync

2014-07-02 Thread Rajith Attapattu (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajith Attapattu updated QPID-5868: --- Attachment: QPID-5868.patch This patch suggests a potential fix for the issue. Java client

[jira] [Created] (QPID-5869) Specifying an ACL file will cause a core dumps when management is sisabled

2014-07-02 Thread Rajith Attapattu (JIRA)
Rajith Attapattu created QPID-5869: -- Summary: Specifying an ACL file will cause a core dumps when management is sisabled Key: QPID-5869 URL: https://issues.apache.org/jira/browse/QPID-5869 Project:

[jira] [Updated] (QPID-5869) Specifying an invalid ACL file will cause a core dumps when management is sisabled

2014-07-02 Thread Rajith Attapattu (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajith Attapattu updated QPID-5869: --- Summary: Specifying an invalid ACL file will cause a core dumps when management is sisabled

[jira] [Commented] (QPID-5869) Specifying an invalid ACL file will cause a core dumps when management is disabled

2014-07-02 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14050767#comment-14050767 ] ASF subversion and git services commented on QPID-5869: --- Commit

[jira] [Resolved] (QPID-5869) Specifying an invalid ACL file will cause a core dumps when management is disabled

2014-07-02 Thread Rajith Attapattu (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajith Attapattu resolved QPID-5869. Resolution: Fixed Assignee: Rajith Attapattu Added a fix on trunk at r1607488. There

[jira] [Updated] (QPID-5870) Closing a topic consumer should delete its exclusive auto-delete queue

2014-07-02 Thread Rajith Attapattu (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajith Attapattu updated QPID-5870: --- Attachment: QPID-5870.patch The subscription queue is now deleted when the consumer is

[jira] [Created] (QPID-5871) Remove unused code generation and support code

2014-07-02 Thread Andrew Stitcher (JIRA)
Andrew Stitcher created QPID-5871: - Summary: Remove unused code generation and support code Key: QPID-5871 URL: https://issues.apache.org/jira/browse/QPID-5871 Project: Qpid Issue Type:

Re: Review Request 23243: Tidied up a bunch of stuff related to the amqp-0-10 generated code

2014-07-02 Thread Andrew Stitcher
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23243/ --- (Updated July 3, 2014, 2:59 a.m.) Review request for qpid, Alan Conway and

[jira] [Commented] (QPID-5871) Remove unused code generation and support code

2014-07-02 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14051009#comment-14051009 ] ASF subversion and git services commented on QPID-5871: --- Commit

RE: qpid cpp pub/sub

2014-07-02 Thread Quynh Duong
Hi Gordon, I have implemented 2 Java JMS consumers based on your suggestion, using topic://somestuff.someelse and they worked perfectly. You can subscribe to the topics using * and # with ease. Java producer produces 2 messages for news and 2 messages for weather, total of 4. Pub/sub model