Re: Transactions in Stomp

2014-04-21 Thread o.p.clemente-09
Hi, I was wondering what is the best practice for a transaction if I am constantly listening to the message would it be like the following pseudo-code WHILE(TRUE) { BEGIN TRANSACTION MESSAGE RECEIVE ACK COMMIT } or BEGIN TRANSACTION WHILE(TRUE) { MESSAGE RECEIVE ACK } COMM

Re: Transactions in Stomp

2013-12-05 Thread Sophia Wright
Thank you for this explanation -- View this message in context: http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p4675214.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Transactions in Stomp

2013-12-05 Thread Christian Posta
n > case of STOMP transactions (like JMS transactions have) ? > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p4675211.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Transactions in Stomp

2013-12-05 Thread Sophia Wright
Yes, that is fine. But my question is " Why there is NO message redelivery in case of STOMP transactions (like JMS transactions have) ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p4675211.html Sent from the ActiveMQ - User ma

Re: Transactions in Stomp

2013-12-05 Thread Christian Posta
here is no redelivery in above case. > > Why so ? The major advantage of transaction over acknowledgement modes is > *msg_redelivery* ? > What will be the use case of transactions in STOMP ? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com

Re: Transactions in Stomp

2013-12-05 Thread Sophia Wright
tions there is no redelivery in above case. Why so ? The major advantage of transaction over acknowledgement modes is *msg_redelivery* ? What will be the use case of transactions in STOMP ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p46

Re: Transactions in Stomp

2013-12-04 Thread Christian Posta
A NACK will should send the message to the DLQ On Wed, Dec 4, 2013 at 7:54 AM, Sophia Wright wrote: > and what happens in case of NACK ( the first question) ? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp467508

Re: Transactions in Stomp

2013-12-04 Thread Sophia Wright
and what happens in case of NACK ( the first question) ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p4675103.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Transactions in Stomp

2013-12-04 Thread Timothy Bish
e between connection.ack() and connection.commit() ? 2) Can I use receive more then one messages(receive---ack--receive--ack) in one transaction and then commit it once ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p4675082.html Sent from th

Re: Transactions in Stomp

2013-12-04 Thread Sophia Wright
an I use receive more then one messages(receive---ack--receive--ack) in one transaction and then commit it once ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Transactions-in-Stomp-tp4675080p4675082.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Transactions in Stomp

2013-12-04 Thread Sophia Wright
Hi, I am trying to use transactions in Stomp (Python & perl). I have already gone through http://activemq.apache.org/how-do-i-unack-the-message-with-stomp.html As specified in the page that there is no redelivery in case of stomp. But what happens if a consumers receives a message and send