Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Problem with @Transactional #55

Closed
davidsawyer opened this issue Mar 18, 2015 · 5 comments
Closed

Problem with @Transactional #55

davidsawyer opened this issue Mar 18, 2015 · 5 comments

Comments

@davidsawyer
Copy link
Contributor

I have a consumer whose handleMessage contents needed to be wrapped in a withTransaction { ... } block. I did that, and everything worked perfectly.

In order to clean that up a little bit, though, I tried adding the @Transactional annotation to the class. However, when I start up my app, I get unable to retrieve configuration for consumer MyConsumer.... My app starts up completely afterwards, but that consumer won't receive messages.

Not totally sure what could be causing that error. Would you have any ideas and/or solutions?

@budjb
Copy link
Owner

budjb commented Mar 20, 2015

I'll have to write up a test for this and see if I can reproduce it. I'll let you know.

@davidsawyer
Copy link
Contributor Author

Thanks!

@budjb
Copy link
Owner

budjb commented Mar 20, 2015

I was able to reproduce and fix. This will go out in the next release.

@budjb budjb closed this as completed Mar 20, 2015
@davidsawyer
Copy link
Contributor Author

Awesome! Thanks for this.

@budjb
Copy link
Owner

budjb commented Mar 20, 2015

Sure thing.

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

No branches or pull requests

2 participants