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
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.
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
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
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
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
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
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.
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
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.
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
11 matches
Mail list logo