stackroute / ibm-wave3-ontrack-hackathon

Other
0 stars 0 forks source link

rabbitMQ is not producing proper output #70

Open Nalinshankar opened 5 years ago

Nalinshankar commented 5 years ago

you are sending : { "productId": 111033, "productName": "Red Tape", "productType": "Sports Shoes", "imageURL": "https://assets.myntassets.com/h_Red-Tape-Men-Off-White-Walking-Shoes-7341530609306715-1.jpg", "mrp": "2000", "price": "1499", "dimension": "14105", "weight": "750gm", "size": "6,7,8", "gender": "Male", "description": "White flexible running shoes for men,easy to wear and comfort for long running", "brand": "Red Tape", "colour": "White" } BUT in rabbitMq queue it is not adding value for any key: {"productId":0,"productName":null,"productType":null,"imageURL":null,"mrp":null,"price":null,"dimension":null,"weight":null,"size":null,"gender":null,"description":null,"brand":null,"colour":null}

Nalinshankar commented 5 years ago

suggestions:remove " products = new Products();" line from RabbitmqProducer class of product service in order to send whole thing correctly.