Re: c++ delete queue

2010-11-11 Thread Bill Whiting
rence, maybe someone else would care to enlighten us hope this helps, Warwick -Original Message- From: Bill Whiting [mailto:tex...@bellsouth.net] Sent: Wednesday, 10 November, 2010 10:58 PM To: users@qpid.apache.org Subject: c++ delete queue I'm trying to create a temporary queue

c++ delete queue

2010-11-10 Thread Bill Whiting
I'm trying to create a temporary queue and delete it when it's no longer needed. Is there a method for deleting a queue, essentially the reverse of session.queueDeclare() I can't find queueDeclare in the documentation. Can someone point me in the right direction? Thanks, //Bill -

Re: Publish-Subscribe queue question

2010-10-28 Thread Bill Whiting
If you have multiple listeners with separate subscriptions, shouldn't each listener get a copy of each message published? //Bill On 10/28/2010 05:55 AM, Gordon Sim wrote: On 10/28/2010 10:36 AM, zhaoyi0...@gmail.com wrote: I have tried your method and it works as before. It doesn't solve the

Re: Qpid meet up at Apachecon

2010-10-28 Thread Bill Whiting
Thanks, I wasn't after free beer, I just wanted to meet some of the people involved in Qpid. //Bill On 10/28/2010 04:56 AM, Gordon Sim wrote: On 10/27/2010 09:01 PM, Ian Kinkade wrote: I don't know anything about this but I did get notification about the Apache meeting: http://wiki.apache.or

Re: Qpid meet up at Apachecon

2010-10-27 Thread Bill Whiting
Is this open to anyone, or only ApacheCon attendees? //Bill On 10/27/2010 01:15 PM, Gordon Sim wrote: On 10/20/2010 06:14 PM, Carl Trieloff wrote: My employer will be sponsoring a Qpid meetup at ApacheCon ATL this year. Come meet, spread the word and learn about the project. It is the typica

Re: durable messaging

2010-03-08 Thread Bill Whiting
Kim, Thanks, that fixed my problem. //Bill On 03/08/2010 07:20 AM, Kim van der Riet wrote: On Sun, 2010-03-07 at 15:46 -0500, Bill Whiting wrote: I'm trying to enable persistence. If I define an exchange and queue with the --durable option then the qpid-config command does not com

durable messaging

2010-03-07 Thread Bill Whiting
I'm trying to enable persistence. If I define an exchange and queue with the --durable option then the qpid-config command does not complain, but the objects are not re-created when I re-cycle the broker If I run the broker manually with qpidd --data-dir /var/lib/qpidd -t then the broker n

Re: remote byte-order

2009-09-17 Thread Bill Whiting
On 09/17/2009 03:47 AM, Gordon Sim wrote: On 09/16/2009 07:34 PM, Bill Whiting wrote: I'm replacing other messaging with qpid. I have code for marshalling and demarshalling data that uses byte-order to know how to handle integers. I can add a custom property to the message that provides

Re: remote byte-order

2009-09-16 Thread Bill Whiting
ented in the API. //Bill On 09/16/2009 11:37 AM, John Dennis wrote: On 09/16/2009 11:25 AM, Bill Whiting wrote: That is exactly the case, I'm thinking of parsing fixed record format data. If the remote system is big-endian (or just different from me) then I want to determine how to handl

Re: remote byte-order

2009-09-16 Thread Bill Whiting
That is exactly the case, I'm thinking of parsing fixed record format data. If the remote system is big-endian (or just different from me) then I want to determine how to handle the data. //Bill On 09/16/2009 11:03 AM, Gordon Sim wrote: On 09/16/2009 12:58 PM, Bill Whiting wrote: T

Re: remote byte-order

2009-09-16 Thread Bill Whiting
Thanks, I'll add my own attribute for now. It would be beneficial to add this to the API. //Bill On 09/16/2009 03:21 AM, Gordon Sim wrote: On 09/15/2009 09:22 PM, Bill Whiting wrote: Is there a way to get the byte order of the sending application from the message properties? I'

remote byte-order

2009-09-15 Thread Bill Whiting
Is there a way to get the byte order of the sending application from the message properties? I've looked throught the API and don't see anything like that. //Bill - Apache Qpid - AMQP Messaging Implementation Project: http

Re: browse queue

2009-09-09 Thread Bill Whiting
I changed the acceptMode and now the message dequeues are being reported correctly. Thanks so much! //Bill On 09/09/2009 02:19 PM, Gordon Sim wrote: On 09/09/2009 06:35 PM, Bill Whiting wrote: There's nothing special about the put program. The browse program browses messages from the

Re: browse queue

2009-09-09 Thread Bill Whiting
that are read. The second time the browse will only show 16 messages, although qpid-stat -q will show the queue depth as 20. //Bill On 09/09/2009 01:12 PM, Bill Whiting wrote: On 09/09/2009 12:50 PM, Carl Trieloff wrote: Gordon Sim wrote: On 09/09/2009 04:59 PM, Bill Whiting wrote: Thanks

Re: browse queue

2009-09-09 Thread Bill Whiting
On 09/09/2009 12:50 PM, Carl Trieloff wrote: Gordon Sim wrote: On 09/09/2009 04:59 PM, Bill Whiting wrote: Thanks, I'm able to browse messages non-destructively and I can acquire/accept an individual message and remove it from the queue; however, qpid-stat -q shows the same number of mes

Re: browse queue

2009-09-09 Thread Bill Whiting
lable again? //Bill On 09/09/2009 11:14 AM, Gordon Sim wrote: On 09/09/2009 04:06 PM, Bill Whiting wrote: Is there sample code or explanation in the documentation on how to browse a queue. No, but I have a Jira open for some doc improvements and have noted this as one of them (feel free to add

browse queue

2009-09-09 Thread Bill Whiting
Is there sample code or explanation in the documentation on how to browse a queue. I have setup a local queue and subscribed to messages from a queue in the broker. I set acquire mode to pre-acquire and the accept mode to none. The messages are still removed from the broker's queue even though

Re: Trigger monitor functionality in Qpid

2009-09-01 Thread Bill Whiting
The normal mode of receiving messages is through a listener thread. You could fork a process when a message arrives, so it would not be difficult to implement. //Bill On 09/01/2009 04:25 AM, Marnie McCormack wrote: Hi Yogesh, Are you using the C++ or Java Broker ? If you use the Java clien

Re: get message by correlationId

2009-08-14 Thread Bill Whiting
When it's committed, let me know if I can help with testing. //Bill On 08/14/2009 10:24 AM, Gordon Sim wrote: Bill Whiting wrote: Gordon, Is the patch to add the XSLT based selectors included in the current trunk for SVN? Not ye

Re: get message by correlationId

2009-08-14 Thread Bill Whiting
Gordon, Is the patch to add the XSLT based selectors included in the current trunk for SVN? //Bill On 08/14/2009 09:11 AM, Gordon Sim wrote: Bill Whiting wrote: So the only way to receive a specific message by the correlationId (at this time) would be to browse the queue looking for the

Re: get message by correlationId

2009-08-14 Thread Bill Whiting
for Qpid messages). Hth - give us a shout with any more questions and we'll try to help, Marnie On Thu, Aug 13, 2009 at 10:12 PM, Bill Whiting wrote: Is there a sample program or documentation that shows getting a message from a queue by the correlationId or mess

Re: get message by correlationId

2009-08-14 Thread Bill Whiting
So the only way to receive a specific message by the correlationId (at this time) would be to browse the queue looking for the correct message? //Bill On 08/14/2009 02:58 AM, Gordon Sim wrote: Bill Whiting wrote: Is there a sample program or documentation that shows getting a message from a

get message by correlationId

2009-08-13 Thread Bill Whiting
Is there a sample program or documentation that shows getting a message from a queue by the correlationId or messageId? //Bill - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mai

Re: Message.setData()

2009-08-11 Thread Bill Whiting
sage payload. This message may not be usable on the receiving system if that system's architecture or endian-order are different. -Ted Bill Whiting wrote: I'm trying to send a message with non-printable characters in the content. I added the bytes to a string and then ca

Re: Message.setData()

2009-08-11 Thread Bill Whiting
Nevermind, It should have been aMessage.setData(messageData); That works. //Bill On 08/11/2009 02:09 PM, Bill Whiting wrote: I'm trying to send a message with non-printable characters in the content. I added the bytes to a string and then called setData() like this std::s

Message.setData()

2009-08-11 Thread Bill Whiting
I'm trying to send a message with non-printable characters in the content. I added the bytes to a string and then called setData() like this std::string messageData((char *)dataStruct, length); aMessage.setData(env.envMsg); where dataStruct is the binary contentthat needs to be

Re: Valid Session

2009-07-28 Thread Bill Whiting
On 07/28/2009 10:09 AM, Gordon Sim wrote: Bill Whiting wrote: In the C++ api, is there a method for determining if a session is open and valid? or is the session assumed to be valid if connection.isOpen() is "true"? There is now an isValid() method on the session (it didn'

Valid Session

2009-07-28 Thread Bill Whiting
In the C++ api, is there a method for determining if a session is open and valid? or is the session assumed to be valid if connection.isOpen() is "true"? //Bill - Apache Qpid - AMQP Messaging Implementation Project: ht