Re: Messaging API - per-message acknowledgements

2010-08-16 Thread Gordon Sim
On 08/16/2010 10:20 PM, Rob Springer wrote: All - We've been using Qpid 0.5 up to this point in our applications, and we're at the point where we can begin evaluating 0.6. Since it's supposed to be "the future", we've been taking a look at the new messaging API, but we're hung up in one spot - we

Re: How to handle sync call by QPID Java api?

2010-08-16 Thread zhaoyi0...@gmail.com
I know that the JMS API works for this case. But I am looking for QPID API to solve this case. Doesn't QPID API support this? -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/How-to-handle-sync-call-by-QPID-Java-api-tp5424823p5430194.html Sent from the Apache Qpid

Re: Messaging API - per-message acknowledgements

2010-08-16 Thread David Hawthorne
Have you seen the request-response example in the qpidc-0.6/examples/request-response directory? It might cover what you're trying to do, especially if you add a message id to the message data. On Aug 16, 2010, at 2:20 PM, Rob Springer wrote: > All - We've been using Qpid 0.5 up to this point

Messaging API - per-message acknowledgements

2010-08-16 Thread Rob Springer
All - We've been using Qpid 0.5 up to this point in our applications, and we're at the point where we can begin evaluating 0.6. Since it's supposed to be "the future", we've been taking a look at the new messaging API, but we're hung up in one spot - we don't see (or haven't found) a means to a

Re: Comparison with RabbitMQ

2010-08-16 Thread Rajith Attapattu
On Mon, Aug 16, 2010 at 11:52 AM, vivek agarwal wrote: > So, suppose, if I provide a API for my users to access Qpid, and allow them > to dequeue data and I send the data back over the network to them. Now > unless, they acknowledge that they have processed the data, I may receieve > thousand such

Re: Comparison with RabbitMQ

2010-08-16 Thread vivek agarwal
So, suppose, if I provide a API for my users to access Qpid, and allow them to dequeue data and I send the data back over the network to them. Now unless, they acknowledge that they have processed the data, I may receieve thousand such requests (or more). I want to keep the data around, but would n

Re: Comparison with RabbitMQ

2010-08-16 Thread Rajith Attapattu
On Mon, Aug 16, 2010 at 6:23 AM, vivek agarwal wrote: > Hi, > > Do we have a API for direct AMQP over Apache Qpid, instead of going through > JMS? We have through experience found out that most use cases can be met with pure JMS + configuration. The new addressing syntax give the JMS user a lot o

Re: Query regarding asynchronous acknowledgments

2010-08-16 Thread Rafael Schloming
vivek agarwal wrote: So, do you mean that in acknowledging messages which are in exclusive queues, I dont need to keep the same session/connection open? Could you please elaborate it more, or point me to a useful resource. What I mean is that if a consumer didn't keep the same session/connect

Re: Query regarding asynchronous acknowledgments

2010-08-16 Thread vivek agarwal
So, do you mean that in acknowledging messages which are in exclusive queues, I dont need to keep the same session/connection open? Could you please elaborate it more, or point me to a useful resource. Thanks, Vivek On Mon, Aug 16, 2010 at 7:14 PM, Rafael Schloming wrote: > vivek agarwal wrote:

Re: Query regarding asynchronous acknowledgments

2010-08-16 Thread Rafael Schloming
vivek agarwal wrote: Hi, Do we have a API for direct AMQP over Apache Qpid, instead of going through JMS? Also, I wanted to enquire if its implements AMQP .10 fully. I have a very specific use-case, where a consumer may consume a message, and acknowledge it after a long processing. So can it be

Re: How to handle sync call by QPID Java api?

2010-08-16 Thread Rafael Schloming
zhaoyi0...@gmail.com wrote: Yes, I am using Java client. session.sync() doesn't work. What I mean is that I send the message and wait for the reply, the current thread will be blocked until the reply message is coming. But when I call session.sync() method, the method will return immediately. I a

Query regarding asynchronous acknowledgments

2010-08-16 Thread vivek agarwal
Hi, Do we have a API for direct AMQP over Apache Qpid, instead of going through JMS? Also, I wanted to enquire if its implements AMQP .10 fully. I have a very specific use-case, where a consumer may consume a message, and acknowledge it after a long processing. So can it be done without keeping t

Re: How to handle sync call by QPID Java api?

2010-08-16 Thread zhaoyi0...@gmail.com
Yes, I am using Java client. session.sync() doesn't work. What I mean is that I send the message and wait for the reply, the current thread will be blocked until the reply message is coming. But when I call session.sync() method, the method will return immediately. I am looking for a request-respo

Re: How to handle sync call by QPID Java api?

2010-08-16 Thread Rafael Schloming
zhaoyi0...@gmail.com wrote: I am new to QPID. I am using Java broker and want to setup a sync message call between server and client. I use this API to send message: session.messageTransfer("amq.direct", MessageAcceptMode.EXPLICIT, MessageAcquireMode.PRE_A

Re: Comparison with RabbitMQ

2010-08-16 Thread vivek agarwal
Hi, Do we have a API for direct AMQP over Apache Qpid, instead of going through JMS? Also, I wanted to enquire if its implements AMQP .10 fully. I have a very specific use-case, where a consumer may consume a message, and acknowledge it after a long processing. So can it be done without keeping t