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

rqueue Producer Consumer Deserialization problem #98

Closed
denisRu92 opened this issue Jul 11, 2021 · 2 comments
Closed

rqueue Producer Consumer Deserialization problem #98

denisRu92 opened this issue Jul 11, 2021 · 2 comments
Assignees

Comments

@denisRu92
Copy link

What's not working?
I am trying to create a Producer Consumer with 2 different projects and in the Consumer project i am getting a Deserialization of message error

What're application dependencies ?

  • Rqueue Version: 2.8.0-RELEASE
  • Spring Boot Version: 2.3.4.RELEASE
  • Spring Messaging Version :5.2.9.RELEASE
  • Spring Data Redis Version :2.3.4..RELEASE

How to Reproduce (optional)?
i have created 2 simple projects, one writes an object to a queue and the second one consumes the object

my object/class:
@DaTa
@AllArgsConstructor
@NoArgsConstructor
public class Event implements Serializable {
private static final long serialVersionUID = -6897130225782938727L;
private int id;
private int packageId;
private int policyId;
private int EventId;
private String population;
private int clientId;
private String agentEmail;
private String clientPhone;
private int appId;
}

@sonus21
Copy link
Owner

sonus21 commented Jul 12, 2021

@denisRu92
If I'm not wrong, you should be getting class not found error. Can you please create a common package/library and share that between producer and consumer, it should fix the issue. Let me know if you're facing some other error than class not found.

@sonus21
Copy link
Owner

sonus21 commented Jul 19, 2021

@denisRu92 I hope issue is resolve closing this ticket, please open it if you need any assistance.

@sonus21 sonus21 closed this as completed Jul 19, 2021
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