-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
io.awspring.cloud.core.env.ResourceIdResolver - .ClassNotFoundException #903
Comments
Hey @erickjhorman , |
Hi @MatejNedic! According to this repository it looks like the newest version of Spring Cloud AWS messaging is 2.4.4, is there a 3.x.x version compatible with Spring Boot 3.x? Thank you! |
Hey @JNKessel The repository you linked is old repository, we moved github repositories. Check here Please check the releases Edit: |
Thank you so much for the clarification @MatejNedic! I hope this helps erick as well. I will still read the repository, but are there equivalent classes to the old Messaging module? For example, these are some of the main ones i remember: Thank you!! |
SQS architecture has changed and there are no 1 to 1 equivalent classes. Please take a look at the reference documentation and start discussion if you'll encounter any issues. |
@JNKessel looks like SqsMessageListenerContainer is for SimpleMessageListenerContainer and similarly the factory. I am having problems setting a DestinationResolver, setWaitTimeOut and FailOnMissingQueue. @maciejwalkowiak any clues? |
@VaibhavTheVicar, unfortunately we hadn't been able to create a proper migration guide from 2.x to 3.x, so you'll need to look for new features that will correspond to your application's need rather than have a 1 to 1 feature mapping.
You can find similar options in
What do you use the |
@tomazfernandes I cant share exactly what we use destination resolvers for, company code. But a common use case could be resolving a Kubernetes client key value pair. Currenly I have had to override the .createInstance method in the sqsListnerFactory class, and plug a lambda for our purposes of resolution there. |
@tomazfernandes but this poses problem, I had to copy and override the WHOLE builder :/ |
@erickjhorman & @VaibhavTheVicar how did you solve the compatibility problem? Can you please share your final solution/ideia ? |
Type: Bug
Component:
Aws-cloud-aws-core-3.0.2, Spring boot 3.1.2 , spring-cloud-aws-messaging:2.4.4
Describe the bug
I had to update my current proyect to Spring boot 3.1.2 and also update Aws-cloud-aws-core spring-cloud-aws-messaging from io.springframework to io.awspring.cloud and i'm getting this exception Caused by: java.lang.ClassNotFoundException: io.awspring.cloud.core.env.ResourceIdResolver.
I noticed that my applicaction can't resolve this class import io.awspring.cloud.core.env.ResourceIdResolver;
Thanks for your help
The text was updated successfully, but these errors were encountered: