Currently im doing a JMS application that needs to send message to queue and received a reply. I sent 3 messages to the queue and mdb will read the message. But the problem now is that mdb did not read all the 3 messages that were sent. It sometimes will display only 2 or 1 message. Can anyone help me through this? What and where should i check for error in order to make this work?
Asked
Active
Viewed 39 times
0
-
Can you post example code please? What have you tried to solve it yourself? – Draken Apr 20 '16 at 07:09
-
1Sorry for the late reply. I got the solution. It is because i did the send and receive function together in the main method. I separated it into different method and it works. Such a silly mistake. Anyway, thanks :) – Jibam Apr 21 '16 at 07:04