Quantcast
Viewing latest article 13
Browse Latest Browse All 5648

Non-Persistent Queue

Hi,

I'm trying to use a non-persistent queue, but when no consumer is connected
the message stays in activemq. If I connect a consumer after a while the
message is delivered.

What I want is the same logic of Topic but in a Queue, if no consumer is
connected the message is discarded.
This is because I can have 2 consumers, if the message failed to deliver to
one consumer, the message is delivered to the second one.

Kind Regards,
Nelson Cintra.

Viewing latest article 13
Browse Latest Browse All 5648

Trending Articles