Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message deletion from queue fails when transaction enabled #4

Open
gorille opened this issue Jun 15, 2017 · 1 comment
Open

message deletion from queue fails when transaction enabled #4

gorille opened this issue Jun 15, 2017 · 1 comment

Comments

@gorille
Copy link

gorille commented Jun 15, 2017

Hi,

I'm using vanilla ironMQV3 directly from ironMQ.
The library works fine when the transaction aren't active.

When transactions are enabled, the message cannot be deleted, because no reservation number is given :

Caused by: io.iron.ironmq.HTTPException: A reservation_id is required at io.iron.ironmq.Client.singleRequest(Client.java:255) at io.iron.ironmq.Client.request(Client.java:183) at io.iron.ironmq.Client.delete(Client.java:152) at io.iron.ironmq.Queue.deleteMessage(Queue.java:296) at io.iron.ironmq.Queue.deleteMessage(Queue.java:282) at io.iron.ironmq.Queue.deleteMessage(Queue.java:269) at com.github.trevershick.si.ironmq.inbound.IronMqMessageSource$IronMqMessageTransactionSynchronization.afterCommit(IronMqMessageSource.java:172)

the problem comes from here.

@trevershick
Copy link
Owner

I'm sorry, i just noticed this. I've been busy. I'll see what i can do. If you have any sample java code or setup to help me setup a test case for this it will help speed up the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants