I am new to Qpid and JMS and I'm trying to make a very simple Java application using Qpid Java broker.
I am implementing this example that simply sends and receives a predefined message.
http://qpid.apache.org/releases/qpid-0.24/qpid-jms/examples/Hello.java.html
I divided the application in 2 parts, consumer and producer.
If I start the consumer part of the example first, and then I start the producer one, everything is ok and the message is consumed.
But if I start the producer first and then the consumer, the message is lost.
In other words, how can I store the messages sent by a producer in order to retrieve them later with the consumer application?
Thanks in advance!