Please suggest how to prevent insert duplicate records in RabbitMQ Queue using java using values.
Example :
{
"jsonObject" : {
"code" : "ABC",
"number" : "123456",
"Name" : "Narasimha"
}
}
if one record available in RabbitMq . if try to insert one more record with same code and number it should not allow to insert RabbitMQ.